Skip to content

Commit

Permalink
Add premined chain
Browse files Browse the repository at this point in the history
This chain has 303 blocks. During blocks 100 to 290, there are 300 wallets making random transactions between each other to populate the chain with interesting information. Wallets private descriptors are included.
  • Loading branch information
edilmedeiros committed Oct 30, 2024
1 parent 1f91624 commit 3d5e2b0
Show file tree
Hide file tree
Showing 30 changed files with 348 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/bitcoin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
signet=1
daemon=1
txindex=1

[signet]
signetchallenge=0014bdec02fe5ec499cc2cb52dc160230643a84dd118
port=15000
rpcport=15001
1 change: 1 addition & 0 deletions config/challenge.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0014bdec02fe5ec499cc2cb52dc160230643a84dd118
1 change: 1 addition & 0 deletions config/miner_wallet_descriptors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"desc": "pkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/44h/1h/0h/0/*)#2g2mrqgp", "timestamp": 0, "active": true, "internal": false, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "pkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/44h/1h/0h/1/*)#mu0674ce", "timestamp": 0, "active": true, "internal": true, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "sh(wpkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/49h/1h/0h/0/*))#qewpf9jc", "timestamp": 0, "active": true, "internal": false, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "sh(wpkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/49h/1h/0h/1/*))#x6xyjgev", "timestamp": 0, "active": true, "internal": true, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "tr(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/86h/1h/0h/0/*)#m6p0asfq", "timestamp": 0, "active": true, "internal": false, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "tr(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/86h/1h/0h/1/*)#2wywq9ec", "timestamp": 0, "active": true, "internal": true, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "wpkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/84h/1h/0h/0/*)#ldj3a3c5", "timestamp": 0, "active": true, "internal": false, "range": [0, 0], "next": 0, "next_index": 0}, {"desc": "wpkh(tprv8ZgxMBicQKsPdT93PShvqLGhCbrwphjq3BiacW33fymSkaMTZZJdBfFUR1rePf9QGASg99SEzc8xKBshB4ek1HeFCH1s1yYtqcsiDjJDe1q/84h/1h/0h/1/*)#wehsqygv", "timestamp": 0, "active": true, "internal": true, "range": [0, 0], "next": 0, "next_index": 0}]
300 changes: 300 additions & 0 deletions config/wallets.txt

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions datadir_miner/bitcoin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
signet=1
daemon=1
txindex=1

[signet]
signetchallenge=0014bdec02fe5ec499cc2cb52dc160230643a84dd118
port=15745
rpcport=20745
rpcservertimeout=99000
rpcdoccheck=1
fallbackfee=0.0002
server=1
keypool=1
discover=0
dnsseed=0
fixedseeds=0
listenonion=0
peertimeout=999999999
printtoconsole=0
upnp=0
natpmp=0
shrinkdebugfile=0
deprecatedrpc=create_bdb
unsafesqlitesync=1
connect=0
bind=127.0.0.1
Empty file added datadir_miner/signet/.lock
Empty file.
5 changes: 5 additions & 0 deletions datadir_miner/signet/banlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"_warning_": "This file is automatically generated and updated by Bitcoin Core. Please do not edit this file while the node is running, as any changes might be ignored or overwritten.",
"banned_nets": [
]
}
Binary file added datadir_miner/signet/blocks/blk00000.dat
Binary file not shown.
Binary file added datadir_miner/signet/blocks/index/000003.log
Binary file not shown.
1 change: 1 addition & 0 deletions datadir_miner/signet/blocks/index/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000002
Empty file.
Binary file added datadir_miner/signet/blocks/index/MANIFEST-000002
Binary file not shown.
Binary file added datadir_miner/signet/blocks/rev00000.dat
Binary file not shown.
1 change: 1 addition & 0 deletions datadir_miner/signet/blocks/xor.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5�2��\�
Binary file added datadir_miner/signet/chainstate/000005.ldb
Binary file not shown.
Binary file added datadir_miner/signet/chainstate/000006.log
Binary file not shown.
1 change: 1 addition & 0 deletions datadir_miner/signet/chainstate/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000004
Empty file.
Binary file added datadir_miner/signet/chainstate/MANIFEST-000004
Binary file not shown.
Binary file added datadir_miner/signet/fee_estimates.dat
Binary file not shown.
Binary file added datadir_miner/signet/indexes/txindex/000003.log
Binary file not shown.
1 change: 1 addition & 0 deletions datadir_miner/signet/indexes/txindex/CURRENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MANIFEST-000002
Empty file.
Binary file not shown.
Binary file added datadir_miner/signet/mempool.dat
Binary file not shown.
Binary file added datadir_miner/signet/peers.dat
Binary file not shown.
3 changes: 3 additions & 0 deletions datadir_miner/signet/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"_warning_": "This file is automatically generated and updated by Bitcoin Core. Please do not edit this file while the node is running, as any changes might be ignored or overwritten."
}
Binary file added datadir_miner/signet/wallets/miner/wallet.dat
Binary file not shown.
Empty file.
Empty file.

0 comments on commit 3d5e2b0

Please sign in to comment.