Bitcoin Forum
September 05, 2024, 01:35:23 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 315 »
1101  Bitcoin / Development & Technical Discussion / Re: Bitcoin Constitution - Looking for feedback on: February 23, 2016, 08:08:13 AM
We should work to reduce the influence of miners. Selfish miners are part of the problem of long confirmation times. As block rewards move towards fees rather than the halving finders rewards, mining operations may return to a byproduct of running a full node.
A bit too late I am afraid.

Any new hard fork is chosen by the miners, so how exactly is there a path from a miner determined process to one that isnt?

I am not debating what is better, just about the reality of the math. It is usually best to not fight against the math.

Maybe you can trick them to adopt something that appears neutral or even in their favor, but it isnt but highly doubtful they will miss that. One possibility is a tradeoff of giving miners even more in the short term, in exchange for less influence after this bakshish period

James
1102  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Declaration of Independence - Atomic Cross Chain Asset Standard on: February 23, 2016, 03:19:51 AM
Awesome news James,  I love the way you view the big picture. Will BTCD be taking the lead in the revolution?

Cheers Jon  Grin
My reference implementation will be based on iguana. asset holders want the security of BTC, but it is too slow. So using BTCD for trading at one minute blocks and BTC for long term parking/coldstorage is the logical setup.

I like to use logical setups.

Since iguana is already talking to both BTC and BTCD at the same time, this requires more work, but PAX already needed AE type of functionality, so now I just need to extend that codebase to allow using NXT assets and NXT accounts directly.

Will be a bit getting used to for having an asset on different blockchains, but really it is like having deposits at different central exchanges. With a nice GUI to track it, shouldnt be a problem and this fits exactly into one of the InstantDEX GUI's: https://instantdex-gui-avidayal91.c9users.io/#/coin_exchange

It is work in progress and not always running, but if you see it you can get the idea of the "easyDEX" that is oriented toward the casual trader and not the advanced technical analysis charts

James
1103  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] BitcoinDark (BTCD)--Financial_Privacy/SuperNET_Core/InstantDEX/PAX/Divs on: February 23, 2016, 01:59:54 AM
For those not following NXT, I have been divorced from NXT.

https://nxtforum.org/core-development-discussion/nxt-2-0-design/msg210601/#msg210601

The above is my last post in the NXT forum, unless the fNXT plan is revoked. fNXT is not NXT and NXT lifetime is limited, so we will need to migrate the NXT assets to a different blockchain.

Now before you panic, I like to make lemonade out of lemons, so like BC2 led to iguana, fNXT has led to: https://bitcointalk.org/index.php?topic=1372879

A passport system for assets that allows the asset holder to decide the blockchain they want to reside in. While the PoS mechanism is fully protecting the NXT holders as designed, it allows the creation of a hardfork that ignores other parts of the ecosystem, like assets.

This is a problem for any derivative. The core PoS or PoW or PoAnything will only protect the interests of the stakeholders, miners or whatever, that the block consensus algorithm uses. As such the hardfork attack vector is a very real and actual in the case of fNXT hardfork.

So while the PoS ensures that the NXT holders (including SuperNET) will vote for the fNXT hardfork out of their fiduciary duty to maximize revenues, there are no protections for asset holders or issuers. In some sense the PoS worked too well, instead of not well enough and it needs to be weakened.

Does this mean decentralized assets are dead?
Not at all!

This attack vector directly led me to create a solution, namely blockchain independent assets that is blockchain enforced. It does require all participating blockchains to implement an asset passport protocol, but the ones that do will allow for free travel among them.

blockchains with iron curtains that dont allow anybody to come in, still wont be able to prevent assets from leaving as long as there is a burn mechanism. So far all blockchains I have seen have either a direct burn method, or one can be devised.

That means that any blockchain that doesnt support asset immigration, is subject to a oneway outflow to ones that do. This is basically the SuperNET concept applied to assets and iguana tech will build into BTCD the ability to trade against BTC using BTCD's one minute block times but to be able to coldstore idle assets in the BTC blockchain. Even if they are in cold storage, it just means that they cannot be traded and all the dividends they earn will still go to your account.

How does this protect assets from the hardfork attack?
Simple. If an upcoming hardfork threatens your interests, just move to a different blockchain.

Even if a blockchain just increases taxes (txfees) and you want a lower cost blockchain, you can move.

If a blockchain just is slow to create useful tech, you can move to one that does.

By distributing an asset across multiple decentralized (or even distributed) blockchains appears to be the best protection available to derived crypto. The alternative is a new blockchain for each asset using itself as its PoS with blocks generated only when there is a transaction. Private chains are coming, but this seems excessive use of the blockchain "hammer" from the toolkit. And it creates a massive N*N problem of cross chain transactions for all such assetchains.

With asset passports, you just reside your assets where you are most actively using the local blockchain and since trading against the native currency of the blockchain is most efficient (it better be!) you will be able to take advantage of this affinity. But if ever some storm clouds appear, you can simply move to a safer blockchain.

BTC is here to stay. Certainly as the reference currency, but even the tech development pace is starting to accelerate, so this is encouraging for all of crypto. iguana is achieving less than an hour BTC blockchain sync for full 60 GB blockchain, so the problem I used to think was so big a problem is not so big anymore. bitcoin 0.12 supports pruning, so HDD space is also going to be an issue not so important. Most importantly, I will be able to run a bitcoind node on my laptop!

So why not everything BTC? Well if you ever are waiting for a trade to go through, you know that waiting even a minute is a long time. Try waiting 10 minutes. Just not a good experience. So I will make a hybrid system combining the speed of BTCD 1 minute blocks with BTC for long term storage. Trading against BTC should really be a requirement, but not sure if all passport enable blockchains will be able to do this, so it would probably need to be a strong recommendation.

iguana unites all the bitcoin compatibles using technology. It is inching toward completion and we even have a freelancer based GUI dev team now, using fully open source development.

docs.supernet.org shows the API and in spite of the external events that keep happening to cause delays, we still march on. This is a marathon and we will complete it.

James

P.S. Before any NXT holder panics, do not worry, NXT peoples are doing everything they can, literally, to make sure NXT goes up, so it seems pretty likely that NXT price will do just fine. I just have some ideological and technical disagreements and since I have no actual power within NXT, I was forced to move.
1104  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] BitcoinDark (BTCD)--Financial_Privacy/SuperNET_Core/InstantDEX/PAX/Divs on: February 23, 2016, 01:59:39 AM
The latest post by James in this thread is dated 1.5 months ago. That is certainly not what investors expected a year ago. At least the price is stable for a long time now.
EDIT: Not complaining (only added some), just missing those days he would cheer us up occasionally.
If only someone can setup an automatic posting from #iguana archive to here.
I post kilobytes per day of text, everyday. I just dont have the time to be manually cross posting. I will if people insist, but would you rather have me spending time cutting and pasting my posts or coding?

and actually when I was more active, many many people complained about it.

Too much info, they complained.

If you want to follow my progress and cannot understand the github.com/jl777/SuperNET's activity, then #iguana in SuperNET slack is where I am.

I dont tend to do things that other people are capable to do. It is because I can only work 16hours per day this year

James
1105  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SuperNET trades on Poloniex as UNITY, asset id 12071612744977229797 on: February 23, 2016, 01:53:06 AM
For those not following NXT, I have been divorced from NXT.

https://nxtforum.org/core-development-discussion/nxt-2-0-design/msg210601/#msg210601

The above is my last post in the NXT forum, unless the fNXT plan is revoked. fNXT is not NXT and NXT lifetime is limited, so we will need to migrate the NXT assets to a different blockchain.

Now before you panic, I like to make lemonade out of lemons, so like BC2 led to iguana, fNXT has led to: https://bitcointalk.org/index.php?topic=1372879

A passport system for assets that allows the asset holder to decide the blockchain they want to reside in. While the PoS mechanism is fully protecting the NXT holders as designed, it allows the creation of a hardfork that ignores other parts of the ecosystem, like assets.

This is a problem for any derivative. The core PoS or PoW or PoAnything will only protect the interests of the stakeholders, miners or whatever, that the block consensus algorithm uses. As such the hardfork attack vector is a very real and actual in the case of fNXT hardfork.

So while the PoS ensures that the NXT holders (including SuperNET) will vote for the fNXT hardfork out of their fiduciary duty to maximize revenues, there are no protections for asset holders or issuers. In some sense the PoS worked too well, instead of not well enough and it needs to be weakened.

Does this mean decentralized assets are dead?
Not at all!

This attack vector directly led me to create a solution, namely blockchain independent assets that is blockchain enforced. It does require all participating blockchains to implement an asset passport protocol, but the ones that do will allow for free travel among them.

blockchains with iron curtains that dont allow anybody to come in, still wont be able to prevent assets from leaving as long as there is a burn mechanism. So far all blockchains I have seen have either a direct burn method, or one can be devised.

That means that any blockchain that doesnt support asset immigration, is subject to a oneway outflow to ones that do. This is basically the SuperNET concept applied to assets and iguana tech will build into BTCD the ability to trade against BTC using BTCD's one minute block times but to be able to coldstore idle assets in the BTC blockchain. Even if they are in cold storage, it just means that they cannot be traded and all the dividends they earn will still go to your account.

How does this protect assets from the hardfork attack?
Simple. If an upcoming hardfork threatens your interests, just move to a different blockchain.

Even if a blockchain just increases taxes (txfees) and you want a lower cost blockchain, you can move.

If a blockchain just is slow to create useful tech, you can move to one that does.

By distributing an asset across multiple decentralized (or even distributed) blockchains appears to be the best protection available to derived crypto. The alternative is a new blockchain for each asset using itself as its PoS with blocks generated only when there is a transaction. Private chains are coming, but this seems excessive use of the blockchain "hammer" from the toolkit. And it creates a massive N*N problem of cross chain transactions for all such assetchains.

With asset passports, you just reside your assets where you are most actively using the local blockchain and since trading against the native currency of the blockchain is most efficient (it better be!) you will be able to take advantage of this affinity. But if ever some storm clouds appear, you can simply move to a safer blockchain.

BTC is here to stay. Certainly as the reference currency, but even the tech development pace is starting to accelerate, so this is encouraging for all of crypto. iguana is achieving less than an hour BTC blockchain sync for full 60 GB blockchain, so the problem I used to think was so big a problem is not so big anymore. bitcoin 0.12 supports pruning, so HDD space is also going to be an issue not so important. Most importantly, I will be able to run a bitcoind node on my laptop!

So why not everything BTC? Well if you ever are waiting for a trade to go through, you know that waiting even a minute is a long time. Try waiting 10 minutes. Just not a good experience. So I will make a hybrid system combining the speed of BTCD 1 minute blocks with BTC for long term storage. Trading against BTC should really be a requirement, but not sure if all passport enable blockchains will be able to do this, so it would probably need to be a strong recommendation.

iguana unites all the bitcoin compatibles using technology. It is inching toward completion and we even have a freelancer based GUI dev team now, using fully open source development.

docs.supernet.org shows the API and in spite of the external events that keep happening to cause delays, we still march on. This is a marathon and we will complete it.

James

P.S. Before any NXT holder panics, do not worry, NXT peoples are doing everything they can, literally, to make sure NXT goes up, so it seems pretty likely that NXT price will do just fine. I just have some ideological and technical disagreements and since I have no actual power within NXT, I was forced to move.
1106  Bitcoin / Development & Technical Discussion / Re: Bitcoin Constitution - Looking for feedback on: February 23, 2016, 12:27:44 AM
In the light of recent disagreements that is going on regarding consensus, I thought of if we can define a mathematically verifiable process to achieve the same. Hence I have put up my idea in details at http://upalc.com/bitcoin-constitution.php. The basic is as follows...

1. At least 21 bitcoin should support a hard fork proposal to be discussed. A poll, created on www.bitcoinocracy.com and backed by 21 bitcoins, will suffice for Hard Fork to be discussed by miners. Please note that, 21 is an arbitrary figure. The exact figure can be discussed or voted on by the community before accepting this proposal.

2. More than 50% hash power should support the proposal for at least one difficulty period. This can be determined using www.blocktrail.com/BTC/blocks/1 or www.coin.dance/blocks.

3. More than 50% coin must support the proposal, where the total amount of coins participating in the poll is more than 1% of the total supply. This can be determined using a poll on www.bitcoinocracy.com.

Any hard forking change should give the network enough time to be aware, test and upgrade. Hence, I propose, all hard forking changes are pushed together only at the time of block reward halving, i.e. once in every four year.

Please feel free to rationally criticize and provide your valuable feedback on this proposal.
You speak of blasphemy.

To contaminate the separation of mining and owning BTC is violation of the sacred PoW commandments

You will be called a PoS zealot if to require BTC. Next thing you know you would want it based on some sort of PoS basis. Only miners are supposed to have any powers to decide.

Why not require some special PoW calculations that cost 21BTC? That way the miners who keep selling all their BTC will still have the total power to decide everything

James
1107  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Declaration of Independence - Atomic Cross Chain Asset Standard on: February 23, 2016, 12:22:16 AM
+1million

Impressive ideas here.

It's great to see a return to the ROOTS of crypto. The Don't tread on me attitude. The we don't need permission from anyone attitude. The system should benefit the users attitude. The decentralized free market places.


Thank you for addressing the views of asset holders that are powerless on a system that decided to not protect it's users but cater to business's that haven't contributed anything and might not contribute anything, yet somehow waved a magic carrot.

This is a real organic revolution of crypto asset liberation. 


they thought we were slaves and had no choice. Dont they realize who I am?

James
1108  Bitcoin / Development & Technical Discussion / Re: Atomic swaps using cut and choose on: February 22, 2016, 11:18:48 PM
As the implementation is filling out, I found another minor attack vector, the slippage attack.

Yeah, this is a known problem.  The price of the trade would have to take it into account.  There could be 2 prices.

Buy Bitcoin as Bob
Sell Bitcoin as Bob

(or even 4, since there would be a spread)
Of course, things have always been setup with bid/ask spreads, but I was thinking of some sort of automated compensator for the slippage attack.

Otherwise, the burden of estimating the black-scholes value being granted falls on the user. I guess I could just have a standard spread factor that is added, but it is variable depending primarily on the other party to the trade.

It seems that the fully precise system will need realtime monitoring of past behavior, tracked by fees paid, number of transactions, volumes of transactions, number of "disconnects", etc.

But all this would be a layer on top of the atomic swap, so I dont think I need to worry about it for now. Maybe someone will want to help coding the insurance tracking aspect of this.

James
1109  Bitcoin / Development & Technical Discussion / Re: Atomic swaps using cut and choose on: February 22, 2016, 11:14:37 PM
From PM, because this is an important point that others might not realize:

Well if an attacker runs a DE and I dont attack back, then that DE works, so at least there will be one DE that works

The attacker can set the effective minimum fee (even it is multiples higher than the advertized fee due to jammed trades), by ratio of how much they attack their own (or another's) DE.

So in essence the attacker can shut down all DE, by making sure he earns just enough on his DE to offset his attack costs on other DE, but this is a moving target that eventually ends up in all users giving up and abandoning DEs. There only needs to be one attacker.

Edit: I think I offered a solution upthread.
The cut and choose attack is very cash negative. The papercut attack appears to be the biggest attack vector now.

I think just making InstantDEX a TTP (trusted third party) with full discretion as to the disposition of fees will solve this. Granted it requires trusting that I wont abuse the DE users, myself, but we are talking about the fee here not the trading capital. If this really is an issue that people wont trust that I wont papercut attack the DE users, then we would need some other method.

Since you already have a solution, I could just use that too.

Does this mean there are no attacks left?

James
1110  Bitcoin / Development & Technical Discussion / Re: Atomic swaps using cut and choose on: February 22, 2016, 11:10:15 PM
With cut and choose, Alice is sure that hash(Bob's private key) actually is for his private key.

How does the cut & choose exchange prove that Bob's has provided a hash of a private key and not a hash of something else  Huh

If Bob doesn't spend that output within 2 days, then Alice can take his deposit (since the CLTV in the top line will have expired).  

However, the only way to spend that output is to provide the private key.

To spend the output he signs it using

Code:
<Bob's signature using private key 2> <Bob's private Key>

HASH160 hashes his private key and then EQUALVERIFY verifies that it matches <hash(Bob's private key)>.

If Alice watches the network, then she will be able to obtain this information and so will get Bob's private key, as promised.

And so will everyone else get Bob's private key and a miner who wins the block can spend his output before his transaction is confirmed on the block chain.
These are onetime throwaway private keys and the output is hardwired to Bob's address, so if anybody else does the spend it pays to Bob anyway.

There is no way to know for sure that the hash of the privkey was provided until it works when it is revealed. That is why the fee is required, so that any attack by cheating has a negative expected return.

I changed to 2000 keypairs, so with a 1/777 fee, the expected return is a loss of about 20%. This presupposes there are anywhere near 2000 trades that can be done. Since newbie accounts will only be traded with reluctantly, it will take time to build up an account with 1000+ trades.

And what is achieved? You have lost 1000+ fees, you steal from who you traded with (worth 777 fees), still you lost 200+ fees. The account you built up is blacklisted and the victim is compensated from the fees that have been paid by the attacker. Any balance is forfeited. So any cut and choose attacker will be helping the InstantDEX bank account and the victim would just need to wait a bit extra before being reimbursed. No financial harm to the victim, financial gain to InstantDEX, financial loss to the attacker.

Another point. The 2000 keypairs acts as PoW. It takes several seconds to calculate them all, so you would need one CPU core per attack. Its not like you can simply notify 2000 other peers that you want to start a trade. The initiator has to calculate all the keypairs upfront.

Only if a node decides to accept this incoming offer, will the similar calcs need to be done on the receiving side. Due to the time it takes, probably need to put in some checks for the desirability of the initiating side, but that is for later.

I have a strong feeling that losing 20% will be a pretty strong deterrent, in fact I am hoping we will get a bunch of idealogical cut and choose attackers who want to disrupt the DE without regard to losing money. I can then use those funds to pay for bots that will be making bids, just waiting to be cheated on. In fact, this could create a massive positive feedback loop and the net result is that the DE is unusable by people, but the bots make the attacker pay thousands of BTC in fees, forever.

Not a great result, but I think I can live with that.

James
1111  Bitcoin / Development & Technical Discussion / Re: Can sidechains mimick Maidsafe features as well? on: February 22, 2016, 10:52:41 PM
Thanks for posting that. Smiley I feel I'm too junior, and don't have enough technical knowledge to justify my comments, so I'll let somebody else do it.

Actually I can see another long term advantage in reducing block generation times. As mining becomes less profitable, it will become more centralised, and because of the influence of miners, this will be bad for Bitcoin. I understand that some banks are now refusing to provide loans for mining equipment purchases because of the questionable RoI. Coin reward halving, and possible increases in energy prices will further reduce profits, and this doesn't take into account the increase in hashing difficulty because of improved hardware. With more frequent block generation, it may become possible for some nodes to become miners in a fee based system, and this will help to decentralise mining.

Still in my mind: Give some bonus here (time or hashrate), so that blocks get really packed with many tx - (but not just fake & generated ones for exact that reason)... so no empty blocks gets rewared....
A tweak to the PoW that takes into account the total tx in a block would achieve this. Since the total fees are being ignored. Just add the txn_count to the PoW weight, since most of the competing blocks will have the same PoW weight, any small increase will win.

But now that can be attacked by a miner including a bunch of 1 satoshi tx, just to win the block and bloating the chain... And since it is hard to tell whether a tx is "real" or not, if the miner is willing to ignore the extra fees (that is what they are supposed to want more of), there really isnt much that can be done to force them to include transactions

James
1112  Alternate cryptocurrencies / Altcoin Discussion / Re: How to do a clean hard fork leaving 2-chains on: February 22, 2016, 10:46:42 PM
I think I see where you're coming from..

If you could 'muck about' with the protocol a bit, this might work :

In each transaction you would need to but a block hash ID which would need to be in the final chain that this txn is eventually added to. (This has been discussed before as a way for users to vote for their preferred chain. This is not currently a feature of Bitcoin.)

This way your txn could only be added to one fork. Not both.

Then, if someone can show you have signed a txn for a fork chain, you balance on the other chain, goes to zero.

Example :

Bob has 10 btc.

Then there is fork and 2 chains appear.

Bob now has 10 btc on each chain.

Bob spends his coins and chooses 1 of the chains. (By choosing a block hash ID in the chain he wants) 

Sam posts Bob's txn on the other fork chain, and this sets Bob's address to zero, by burning the coins. hehe..

Now both chains can exist, without everyone getting double their money. And txns on 1 chain are not valid on the other.

..

ps.. Just thinking out loud really.. can see some timing issues rearing up..

pps.. Just wondering if you could then trade/exchange from 1 fork chain to the other.. hmm..
The fundamental issue about anything like this is that if you can understand all that you can make a windfall, at the cost of some poor small business that didnt

It seems no way to force everybody to run the latest software at the same moment, especially high volume places that might not want to shutdown until the slow time of day (or week)

So any solution needs to take into account that pre-hardfork and post-hardfork versions are running and that there will be bots written by guys that understand the above trying to find the laggards who still honor the invalid utxo

That is why a total shutdown seems to be required to get past not only the +/- 2 hours (4 hours worst case) timestamp tolerance, but migration time.

It could be like Hardfork Saturday GMT (that is the only day of the week that is a weekend all over the world).

It should be really easy to get all 6000+ nodes to coordinate the shutdown and update at the same time.

James
1113  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Declaration of Independence - Atomic Cross Chain Asset Standard on: February 22, 2016, 10:36:59 PM
Any current or future blockchain is invited to join.

Can a blockchain be prevented from joining?

Cheers

Graham

I mean in the discussion and setting of standard. The coloredcoins.org spec is a pretty good place to start, but it doesnt handle multiple chains.

And a blockchain would need to implement importing, so if they dont do that, they are prevented from joining. If this standard is closed and secret, then any chain not in the inner circle would have been prevented.

James
1114  Bitcoin / Development & Technical Discussion / Re: Threshold-optimal DSA/ECDSA signatures and an application to Bitcoin on: February 22, 2016, 10:13:45 AM
If all we are dealing with is M of N shared secret keys here, how come this is more secure than multisig? They seem to argue that deploying DSA to wallets will make them more secure. What am I missing?
Not limited to N of 16.

a lot shamir's secret implementations can handle M of 256 as it uses a 2^8 field

but the shnorr's can handle arbitrary number of M of N. Not sure if it is practical but you could setup a M = 500,001 of N =1,000,000 to get a majority of 1 million accounts.

I wouldnt recommend it as it will probably blow up somewhere, but the current multisig implementation is not using fancy crypto, just a brute force list of pubkeys, so all the N pubkeys need to go in the blockchain. Current limit is 15 or 16 using compressed pubkeys. For older altcoins N = 3 is the most due to strict limits on script sizes

James

P.S. Another reason for more security is that by disclosing the pubkey msig addresses are not cold as the pubkey is known. However, short of using bad RNG, I wouldnt worry too much about revealing pubkeys until QC's become more widespread
1115  Bitcoin / Development & Technical Discussion / Re: Can sidechains mimick Maidsafe features as well? on: February 22, 2016, 10:07:10 AM

The 10 minute blocktime of BTC prevents its usage directly for many use cases. So if a 1:1 price peg to BTC is required and the 24+ hours latency is not a problem, then it seems a side chain can have whatever characteristics desired. It is definitely an interested method.



Do you see a time when this blocktime could be reduced?
Pretty sure it would take a hardfork, but it would change the emission rate unless we adjusted the block reward at the same time. The code changes would be minimal.

Actually, that would solve the blocksize problem!

Just go to 5 minute blocktimes with half the block reward. Even with 1MB blocksize we get 1MB per 10 minutes so it matches the 2MB blocksize increase.

At 5 minutes I dont think we would get too many of the small reorgs. If to go to 1 min, we get 10MB per 10 min capacity, but at that frequency there would be a fair number of reorgs. I dont think going below 3 minutes is wise.

It was your idea, so you can submit the 5 min blocktime BIP Smiley

James
1116  Bitcoin / Development & Technical Discussion / Re: Threshold-optimal DSA/ECDSA signatures and an application to Bitcoin on: February 22, 2016, 02:10:01 AM
This new paper here: https://eprint.iacr.org/2016/013.pdf states that it helps with the security of wallets. From my understanding it relies on n >= t+1 servers, where t is the compromised servers.

What I am not sure of I understand correctly is how it secures the malicious part is not capable of obtaining all the keys if all servers are breached? Hope someone can elaborate on this topic a bit better.
My understanding is that it is like shamir's shared secret for getting MofN

Without M valid sets of data, it is garbage with M to N valid data, you can recreate the original.

Taking this concept further, add some crypto magic and we get:

 secp256k1_schnorr_partial_sign() from the zkp lib:
* The intended procedure for creating a multiparty signature is:
 * - Each signer S with private key x and public key Q runs
 *   secp256k1_schnorr_generate_nonce_pair to produce a pair (k,R) of
 *   private/public nonces.
 * - All signers communicate their public nonces to each other (revealing your
 *   private nonce can lead to discovery of your private key, so it should be
 *   considered secret).
 * - All signers combine all the public nonces they received (excluding their
 *   own) using secp256k1_ec_pubkey_combine to obtain an
 *   Rall = sum(R[0..i-1,i+1..n]).
 * - All signers produce a partial signature using
 *   secp256k1_schnorr_partial_sign, passing in their own private key x,
 *   their own private nonce k, and the sum of the others' public nonces
 *   Rall.
 * - All signers communicate their partial signatures to each other.
 * - Someone combines all partial signatures using
 *   secp256k1_schnorr_partial_combine, to obtain a full signature.
 * - The resulting signature is validatable using secp256k1_schnorr_verify, with
 *   public key equal to the result of secp256k1_ec_pubkey_combine of the
 *   signers' public keys (sum(Q[0..n])).
 *
 *  Note that secp256k1_schnorr_partial_combine and secp256k1_ec_pubkey_combine
 *  function take their arguments in any order, and it is possible to
 *  pre-combine several inputs already with one call, and add more inputs later
 *  by calling the function again (they are commutative and associative).


Not sure if false data will prevent reconstruction, if so, then M choose n (where n is the total received and it must be between M and n) possibilities would need to be reconstructed to get a valid result. So depending on the attacker ratio, processing power available, practical limits of the M and N values that can be used will be limited

James
1117  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Declaration of Independence - Atomic Cross Chain Asset Standard on: February 22, 2016, 01:23:25 AM
Fantastic. If that is possible and becomes reality it will be the best thing to happen in crypto in 2016.
Permanence is good.
Temporariness is evil.

Federal Reserve+income tax were born as temporary solution and everybody witnessed evil at work through whole 20th century.
That evil almost negated great achievements of 1776.

It's time to put evil back into its bottle and let it eat only those who don't value permanence.

Atomic Cross chain https://bitcointalk.org/index.php?topic=1364951.0 is not easy, but possible. Additionally side chains shows another method for cross chain.

The key is to make sure that at the high level all the current and likely future blockchains can provide the required import function. Ideally into the native asset type, but some coins like Bitcoin and all its forks, of course dont have any intrinsic assets. but with OP_RETURN data or colored coins, even for blockchains without native asset support can support assets.

I think "simple" things like asset id preservation/mapping and support of a meta-assetid is probably the trickiest issue. Once we have a way to have a universal assetid, then it becomes possible for each blockchain to track it and transfer it and trade it.

It is a bit space intensive, but one way is to combine the issuers pubkey with the assetid it was originally created on. This will typically be between 256 bits to 512 bits. One way to make it more convenient is to map that to an rmd160 hash like bitcoin, which then gets us to 160 bits, or 20 bytes per address. That also allows creating bitcoin-style address out of the universal assetid. To avoid confusion with bitcoin addresses, the address type shouldnt be 0 or 5, best to use a unique address type, maybe 0xff which I havent seen used in any coin yet, but I have seen all of them so it might still conflict.

James
1118  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Declaration of Independence - Atomic Cross Chain Asset Standard on: February 22, 2016, 12:54:43 AM

P.S. I am not asking for any funds or investments.

Well this is new  Roll Eyes had my fud ready and all.

Sorry, too busy to deal with anything but technical issues.
This is purely an interop standards effort. All participating blockchains benefit from the network effect.

The user centric goals, means that users that are most comfortable on blockhain X, just stay there. Trades against the host currency will be the most efficient, so for most of the people most of the time nothing changes.

However, if something makes a different blockchain more attractive for that specific user, he would be able to migrate some or all of his assets there. This sets up the different blockchains to compete for residency of the assets and since the asset total is blockchain(s) enforced, short of a blockchain totally stopping, the asset value is protected. Even in that case, we could probably have some provisions for snapshot resurrections.

Due to essentially side chain type of issues, the transfers will necessarily take many confirmations, but like moving your own place of residence, it is not something that is done very often, if at all.

Also, for a blockchain that is afraid of losing their assets and thus not wanting to participate, there will need to be methods created for a onetime exit from that chain. However that is a oneway move (until that blockchain supports importing external assets), so not one to be made lightly.

From what I can tell, all existing decentralized asset systems support exporting already, not specifically as such, but if an asset can be burned, it can be exported using a burn protocol

This appears to be a form of meta-decentralization, where the decentralized assets can be spread across multiple blockchains, yet retain their fixed supply. While the relatively small number of host blockchains makes it more like a distributed model, since each blockchain is decentralized (we hope!) maybe that property infused into the distributed aspect.

Regardless of its exact taxonomy in this space, what is clear is that having a passport to travel is much better than not having one.

James
1119  Alternate cryptocurrencies / Altcoin Discussion / Re: How to do a clean hard fork leaving 2-chains on: February 22, 2016, 12:09:47 AM
I think you would need at least a 4 hour gap to avoid the +/-2 hour leeway on timestamps and additionally some other method to avoid double spending based on using tainted inputs.

Actually it wont be double spending if to use a tainted input as it is following the protocol for both forks.

In essence having two versions after a hardfork doubles the coin supply. Kind of a little violation of the 21 million coin promise.

But if the ripple way is acceptable, then push forward for this

James

See: https://bitcointalk.org/index.php?topic=1157679.0
1120  Alternate cryptocurrencies / Altcoin Discussion / Re: How to do a clean hard fork leaving 2-chains on: February 22, 2016, 12:06:24 AM
1 scenario) transaction on new chain will not be valid  transactions on old chain. Transactions on old chain will be valid transactions on new chain.  
Well if participants on the altcoin had tainted their coins with some of the coins produced after the fork, then the transactions on the new chain would be invalid on the old chain. Any transaction that spent outputs created previous to the fork would be valid on the new chain. However any transaction that spent outputs created after the fork would not.

2) transactions on new chain will not be valid transactions on old chain. Transactions on old chain will not be valid transactions on new chain.  
That is harder to do, in fact, I don't think it is possible. But you can completely separate into an altcoin by changing other parameters. Every coin has 4 "magic" bytes which identify the coin that the block or transaction belongs to. By changing the magic bytes, the blocks and transactions of one chain are ignored by the other, essentially separating the two networks.

Also, to do a fork like this, you need to set checkpoints into the forked blockchain and when it does fork, it is easier if the forked part is an invalid block on the old blockchain.
just changing the magic number is not enough, that only affects the network protocol.
Which means if all other parameters are the same, just rebroadcasting on the other network and it is accepted (assuming it is valid in other ways)

James
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 315 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!