Below is a summary of the key changes:
-
Create transactions: Using
bdkpython
to create sample transactions to be broadcasted over the mesh network. -
New file
btc/monitor_balances.py
:- This new script includes functionality to monitor and log changes in Bitcoin wallet balances using the bdkpython library.
- It involves reading wallet information from JSON files, fetching wallet balances, and comparing them to detect any changes.
- The script uses pandas dataframes to log balance changes and supports monitoring multiple wallets stored in a specified directory.
-
Modifications in
btc/segment.py
:- Addition of a method
serialize_to_json
in theSegment
class for serializing segment data to JSON format.
- Addition of a method
-
Updates to
btc/segment_storage.py
:- Printing detailed statements about received and missing segments for a particular payload.
-
Addition of binary file
btc/wallets.zip
and.gitkeep
file inbtc/wallets/
directory:- Added
wallets.zip
with pre-funded testnet sats for use in the demo.
- Added