Re: [Lightning-dev] Rebalancing argument

2018-07-11 Thread ZmnSCPxj via Lightning-dev
Good morning, I believe care must be taken for automatic rebalancing. Suppose we start in this state: A 1.0|\1.0 | \ 1.0| \1.0 B---C 1.0 1.0 Then A pays to B 1.0 BTC: A 0.0|\1.0 | \ 2.0| \1.0 B---C 1.0 1.0 In an effort to balance, B

Re: [Lightning-dev] [bitcoin-dev] BIP sighash_noinput

2018-07-11 Thread ZmnSCPxj via Lightning-dev
Good morning DING FENG, While your concern is valid, the general intent is the below: 1. We will use a scary name like SIGHASH_NOINPUT_UNSAFE to explicitly inform to wallet and Bitcoin software developers that the flag is potentially unsafe. 2. SIGHASH_NOINPUT_UNSAFE is intended to be used for