Chronos
Member
Sounds like you are activating Segregated Brain for this implementation, as well.enter, Segregated Transition Details!
Sounds like you are activating Segregated Brain for this implementation, as well.enter, Segregated Transition Details!
bits256 iguana_merkle(struct iguana_info *coin,bits256 *tree,struct iguana_msgtx *txarray,int32_t txn_count)
{
int32_t i,n=0,prev; uint8_t serialized[sizeof(bits256) * 2];
if ( txn_count == 1 )
return(txarray[0].txid);
for (i=0; i<txn_count; i++)
tree[i] = txarray[i].txid;
prev = 0;
while ( txn_count > 1 )
{
if ( (txn_count & 1) != 0 )
tree[prev + txn_count] = tree[prev + txn_count-1], txn_count++;
n += txn_count;
for (i=0; i<txn_count; i+=2)
{
iguana_rwbignum(1,serialized,sizeof(*tree),tree[prev + i].bytes);
iguana_rwbignum(1,&serialized[sizeof(*tree)],sizeof(*tree),tree[prev + i + 1].bytes);
tree[n + (i >> 1)] = bits256_doublesha256(0,serialized,sizeof(serialized));
}
prev = n;
txn_count >>= 1;
}
return(tree[n]);
}
This is simply not true. At the very worst users will end up with funds that they cannot verfiy, until they try to spend them. This may open up attack vectors against them, but they will not lose bitcoin that they have by spending them, as they would in a hard fork. All soft forks end up being mandatory for miners once 95% adoption is reached. All soft fork's end up with degraded capabilities for non-upgraded nodes. That's what a soft fork is!wallets that do not implement segwit and receive funds from a segwit TX will end up with unspendable funds. In a way it forces everyone to upgrade or there "backward compatible node" will be completely unusable shortly after segwit is released.
This is the bit that is not correct as far as I can see. Old wallets will not be able to receive seg wit transactions. However they may be able to receive coins which were seg wit transacted in the past. That is the case where the old wallet may not be able to verify the coins. Again as this is pretty unclear at the moment, it would be great if this was included in an FAQ somewhere.wallets that do not upgrade and receive funds from a segwit TX
This pretty much describes any soft fork. See https://blog.blockchain.com/2016/02/26/a-brief-history-of-bitcoin-forks/sure its a softfork technically, but pretty soon after some % of nodes start doing segwit TX, your older wallet is compatible but quite handicapped.
That's some good reasoning, but ... are you really sure?The witness data is only needed before transactions are confirmed in a non-reorganisationable block. We say 6 blocks are good for this, because there has never (seldom?) been a 'valid' orphaned chain longer than this. In reality the depth is probably more like 1000 before witness data is dropped.
Why can we trust this when we no longer have the witness data? Because in order to confirm a transaction in a block, the witness data MUST be valid. Therefore if a transaction is in a block in the chain, then the witness data must have been valid.
Personally, no, I'm not really clever enough to go into it in that depth. So yes I'm relying on clever people like, Gavin, GMax and even Luke-jr to assure me it is safe. They have even said that signatures are not checked before a certain block checkpoint.are you really sure?
Sorry what type of miner would put an invalid segwit block on the chain? I assume you mean after 75% of mining hash power has upgraded, but before 95% where this is a known issue.so a segwit transaction with invalid signature data will be regarded as valid and added to a bitcoin block
Just spend some time google the transaction/block structure of bitcoin, it won't take you more than a day, bitcoin is not rocket science. I never trust any of the devs unless that is something I can understand. Mike said, "It is complex, (but) all the information an investor might want was out there, and there’s an entire cottage industry of books, conferences, videos and websites to help people make sense of it all."Personally, no, I'm not really clever enough to go into it in that depth. So yes I'm relying on clever people like, Gavin, GMax and even Luke-jr to assure me it is safe. They have even said that signatures are not checked before a certain block checkpoint.
I guess I should stop using SSL then.If trust and hope has become people's decision making model, then bitcoin has failed.
just stop using core and you'll be fine.I guess I should stop using SSL then.If trust and hope has become people's decision making model, then bitcoin has failed.
There is another way to adopt a system if you are lazy: Let others run it for years and prove it is worth trusting. That's how all those complex technologies were adopted. Then in this case, segwit must be tested by other people for 7 years to reach the same acceptance level as bitcoin today, since it is a totally different architecture, another cryptocurrencyI guess I should stop using SSL then.
https://bitcoinclassic.slack.com/archives/debate/p145940947200278075% is where the rules are enforced but only for those flagging support