Re: [bitcoin-dev] Analysis of Bech32 swap/insert/delete detection and next steps

2019-12-09 Thread Pieter Wuille via bitcoin-dev
> > So my suggestion for the next steps are: > > > > - Update BIP173 to include the insertion weakness as an erratum, and > > the results of this analysis. > > > > To clarify, this step does not modify anything about the implementation of > BIP173, only adds this as an additional erratum sec

Re: [bitcoin-dev] Analysis of Bech32 swap/insert/delete detection and next steps

2019-12-09 Thread ZmnSCPxj via bitcoin-dev
Good morning Pieter, > Hi all, > > I've made a writeup on Bech32's detection abilities, analysing how it > behaves in the presence of not just substitution errors, but also > swapping of characters, and insertions and deletions: > https://gist.github.com/sipa/a9845b37c1b298a7301c33a04090b2eb > > I

[bitcoin-dev] Analysis of Bech32 swap/insert/delete detection and next steps

2019-12-09 Thread Pieter Wuille via bitcoin-dev
Hi all, I've made a writeup on Bech32's detection abilities, analysing how it behaves in the presence of not just substitution errors, but also swapping of characters, and insertions and deletions: https://gist.github.com/sipa/a9845b37c1b298a7301c33a04090b2eb It shows that the "insert or delete a

Re: [bitcoin-dev] Reducing energy consumption and increasing security at the same time

2019-12-09 Thread Cheng Wang via bitcoin-dev
Hi Runchao, - 1st question regarding double spending: We won't allow a miner to sacrifice coinbase reward as much as possible for a practical system. This will be achieved by setting a dynamic upper bound for the number of rewards the miner could sacrifice. The upper bound would be related to the