-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peer backup #8490
base: master
Are you sure you want to change the base?
Peer backup #8490
Commits on May 12, 2024
-
peer: Change
createTestPeer
name.In this function `createTestPeer` is changed to `createTestPeerWithChannel`. This is useful in coming commits where we decouple the process of creating test peer from the function. Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 52d310c - Browse repository at this point
Copy the full SHA 52d310cView commit details -
peer:
createTestPeerWithChannel
returns a structThe `createTestPeerWithChannel` function is made to return this newly created struct and error. This is useful because upcoming commits would require us returning more objects from the function. Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 6d06ced - Browse repository at this point
Copy the full SHA 6d06cedView commit details -
peer: Create mockswitch, publTx, notifier in ..
test_utils Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for be3f077 - Browse repository at this point
Copy the full SHA be3f077View commit details -
peer: Add new function to create test peer.
Signed-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 637d6ab - Browse repository at this point
Copy the full SHA 637d6abView commit details -
peer: Add
startPeer
test functionSigned-off-by: Ononiwu Maureen <maureen.ononiwu@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 4f70129 - Browse repository at this point
Copy the full SHA 4f70129View commit details -
lnwire: Add feature bits for peer backup storage.
This commit introduces new feature bits to enable backing up data with peers. Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3322038 - Browse repository at this point
Copy the full SHA 3322038View commit details -
lnwire: Add peer backup storage message.
This commit adds the peer backup storage message as well as functions to encode and decode them. Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 71027b8 - Browse repository at this point
Copy the full SHA 71027b8View commit details -
multi: Add optional peer storage feature config
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a8be6b - Browse repository at this point
Copy the full SHA 5a8be6bView commit details -
peer: Add storage layer to handle
PeerStorage
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for abbb190 - Browse repository at this point
Copy the full SHA abbb190View commit details
Commits on May 14, 2024
-
lnd: Include a Kvdb impl for peer.PeerDataStore
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8b0bd5b - Browse repository at this point
Copy the full SHA 8b0bd5bView commit details -
lncfg+lnd: Add PeerStorage kvdb to DB backend
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ccecf4b - Browse repository at this point
Copy the full SHA ccecf4bView commit details -
lnd: Include kvdbStorage in server and peer config
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 63c5f2d - Browse repository at this point
Copy the full SHA 63c5f2dView commit details -
peer: Create hasActiveChannels function.
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 562d40a - Browse repository at this point
Copy the full SHA 562d40aView commit details -
peer: Add
IsDisconnected
method to brontide.Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 46d3a2a - Browse repository at this point
Copy the full SHA 46d3a2aView commit details -
peer: Make brontide know peer backup storage msgs
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b9d38e5 - Browse repository at this point
Copy the full SHA b9d38e5View commit details -
peer: Add handler for peerStorageRetrieval
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0b66b3d - Browse repository at this point
Copy the full SHA 0b66b3dView commit details -
peer: Add handler for
PeerStorage
messageSigned-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9dedf1a - Browse repository at this point
Copy the full SHA 9dedf1aView commit details -
peer: Add PeerStorageWriter to brontide.
In this commit, a new goroutine is added to manage the delay in persisting backupData shared by peers. This change serves as a safety check to ensure that a flood of PeerStorage messages from peers does not degrade our performance by causing multiple database transactions within a short period. Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 12d4c95 - Browse repository at this point
Copy the full SHA 12d4c95View commit details -
peer: Send peers their data on connection.
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 93af069 - Browse repository at this point
Copy the full SHA 93af069View commit details -
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 59f829b - Browse repository at this point
Copy the full SHA 59f829bView commit details