[bitcoin-dev] UHS: Full-node security without maintaining a full UTXO set

2018-05-16 Thread Cory Fields via bitcoin-dev
Tl;dr: Rather than storing all unspent outputs, store their hashes. Untrusted peers can supply the full outputs when needed, with very little overhead. Any attempt to spoof those outputs would be apparent, as their hashes would not be present in the hash set. There are many advantages to this, most

[bitcoin-dev] Moving away from BIP37, unsetting NODE_BLOOM

2018-05-16 Thread Caius Cosades via bitcoin-dev
As previously discussed[0][1][2] on the mailing list, github issue commentary, and IRC channels, there's substantial reason to disable BIP37 in network nodes which are getting stronger as the size of the chain increases. BIP37 has significant denial of service issues which are unsolvable in the

Re: [bitcoin-dev] Making OP_TRUE standard?

2018-05-16 Thread Rusty Russell via bitcoin-dev
Luke Dashjr writes: > An OP_TRUE-only script with a low value seems like a good example of where > the > weight doesn't reflect the true cost: it uses a UTXO forever, while only > costing a weight of 4. > > I like Johnson's idea to have some template (perhaps OP_2-only, to preserve > expected