public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Lightning and other layer 2 projects with multiple RBF policies
@ 2022-02-13  6:09 Prayank
  2022-02-13 15:46 ` [bitcoin-dev] [Lightning-dev] " Michael Folkson
  0 siblings, 1 reply; 5+ messages in thread
From: Prayank @ 2022-02-13  6:09 UTC (permalink / raw)
  To: Bitcoin Dev; +Cc: Lightning Dev

[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]

Hello World,

There was a discussion about improving fee estimation in Bitcoin Core last year in which 'instagibbs' mentioned that we cannot consider mempool as an orderbook in which which everyone is bidding for block space because nodes can use different relay policies: https://bitcoin-irc.chaincode.com/bitcoin-core-dev/2021-09-22#706294;

Although I still don't consider fee rates used in last few blocks relevant for fee estimation, it is possible that we have nodes with different relay policies.

Similarly if we have different RBF policies being used by nodes in future, how would this affect the security of lightning network implementations and other layer 2 projects? 

Based on the things shared by 'aj' in 
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-February/019846.html it is possible for an attacker to use a different RBF policy with some nodes, 10% hash power and affect the security of different projects that rely on default RBF policy in latest Bitcoin Core.

There was even a CVE in which RBF policy not being documented according to the implementation could affect the security of LN: 
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-May/018893.html

1.Is Lightning Network and a few other layer 2 projects vulnerable to multiple RBF policies being used? 

2.With recent discussion to change things in default RBF policy used by Core, will we have multiple versions using different policies? Are users and especially miners incentivized to use different versions and policies? Do they have freedom to use different RBF policy?

3.Are the recent improvements suggested for RBF policy only focused on Lightning Network and its security which will anyway remain same or become worse with multiple RBF policies?

Note: Bitcoin Knots policy is fully configurable, even in the GUI - users can readily choose whatever policy *they* want.

-- 
Prayank

A3B1 E430 2298 178F

[-- Attachment #2: Type: text/html, Size: 2558 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-14 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13  6:09 [bitcoin-dev] Lightning and other layer 2 projects with multiple RBF policies Prayank
2022-02-13 15:46 ` [bitcoin-dev] [Lightning-dev] " Michael Folkson
2022-02-14  5:18   ` Prayank
2022-02-14 17:02     ` Michael Folkson
2022-02-14 17:59       ` Prayank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox