forked from justusranvier/bmd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix --onion, RPC server and database
--onion option was broken earlier. Mirrored upstream change btcsuite/btcd#446. RPC server has now been updated to send objects to clients in strictly sequential order of counters. This was accomplished using heaps. RPC documentation has also been updated to reflect the same. Method signatures of a few database functions have been changed. RemoveExpiredObjects now returns the list of objects that it pruned from the database. This is going to be useful for the object manager, to remove those objects from the list of advertised objects. PubKey operations have been improved and ciphering support (now a part of bmutil) has been integrated. Tests for the same have also been added. Storage of public keys has been optimized. Unencrypted and encrypted messages are now stored separately. This is more efficient than storing everything together.
- Loading branch information
Showing
10 changed files
with
524 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.