Rust-Lightning PR Review Club
Session Details
PR Summary
Small ldk-nodes might not want to use update-based persistence when Monitor sizes are small . This is because of more load of mapping updates files and check for differential updates which are not really beneficial for smaller nodes . This adds a tunable option to the nodes where they can specify a threshold after which they would like to use update based persistence.
Prerequisites
rust
Questions
- What is a MUP ?
- why would we like to need persistence for our nodes ?
- why would we prefer full monitor persistence over update based persistence in smaller nodes ?
- What should be the ideal threshold value ?
- Where in the code is persistence switched based on the threshold value ?
Preparation Steps
-
Clone the Bitcoin Core repository if you haven't already:
git clone https://github.com/lightningdevkit/rust-lightning
-
Fetch and checkout the PR:
cd bitcoin
git fetch origin pull/3834/head:Prabhat1308:probot/change_persist_type
git checkout Prabhat1308:probot/change_persist_type
-
Review the code changes and consider the provided questions.
Joining the Session
The Jitsi link will be shared in the #announcements channel of the Bitshala Discord shortly before the session.
Looking forward to seeing you there!
Rust-Lightning PR Review Club
Session Details
PR Summary
Small ldk-nodes might not want to use update-based persistence when Monitor sizes are small . This is because of more load of mapping updates files and check for differential updates which are not really beneficial for smaller nodes . This adds a tunable option to the nodes where they can specify a threshold after which they would like to use update based persistence.
Prerequisites
rust
Questions
Preparation Steps
Clone the Bitcoin Core repository if you haven't already:
Fetch and checkout the PR:
Review the code changes and consider the provided questions.
Joining the Session
The Jitsi link will be shared in the #announcements channel of the Bitshala Discord shortly before the session.
Looking forward to seeing you there!