Hi,
The donation payment_hash txn field layout is diff 
in the second lines stanza. Instead it goes right to the 
bes32 static int. Why is does it not use say a 0x20
to indicate not a bc value or reserved value to indicate
no bc value in txn?

would it not simpify optimizing for any sort of deep inspection?
lnbc <- network to mainnet field
1 <- bes32 field
1234567 <- epochtimestmp
(..)

the rest layout their fields like..
lnbc <- network to mainnet field
bcvalue <- some bc value
1 <- bes32 field
(...)

simplified with a..
lnbc <- network to mainnet field
none_bc_value <- reserved hex value says this is hash_payment
1 <- bes32
(...)

nothing more to see here.. just a pseudo random thought. =)

Best Regards,
[email protected]
_______________________________________________
Lightning-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev

Reply via email to