ptarmigan icon indicating copy to clipboard operation
ptarmigan copied to clipboard

expiry check is too tight ?

Open nayuta-ueno opened this issue 6 years ago • 1 comments

送金でexpiryのチェックを行っているが、送金元と送金先のheightが異なっていることは充分あり得る。 BOLT4の"expiry_too_soon"もif the cltv_expiry is unreasonably near the presentと、数値が決まっているわけでは無い。 どこかで余裕を持たせるようになっているのだろうか?

nayuta-ueno avatar Aug 22 '18 05:08 nayuta-ueno

イメージ https://github.com/nayuta-ueno/ptarmigan/commit/88b5a927803ab3b59b633364b152e55d807f64fa

nayuta-ueno avatar Aug 23 '18 01:08 nayuta-ueno