Wanted to post this originally in the saloon but the logs are too long, I would have just taken up all the space, lol (related ticket)

@TonyGiorgio @benthecarman when I tried your config from here:
[signet] signetchallenge=512102f7561d208dd9ae99bf497273e16f389bdbd6c4742ddb8e6b216e64fa2928ad8f51ae addnode=45.79.52.207:38333 dnsseed=0 signetblocktime=30
and this fork, I think it still tries to connect to mainnet:
2023-11-22T14:47:29Z Warning: Disk space for "/var/lib/bitcoind/.bitcoin/blocks" may not accommodate the block files. Approximately 496 GB of data will be stored in this directory. 2023-11-22T14:47:29Z loadblk thread start 2023-11-22T14:47:29Z UpdateTip: new best=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f height=0 version=0x00000001 log2_work=32.000022 tx=1 date='2009-01-03T18:15:05Z' progress=0.000000
full startup log:
2023-11-22T14:47:29Z Bitcoin Core version v24.99.0-gd8434da3c14ed6723d86ef2cd266008d366e1413 (release build) 2023-11-22T14:47:29Z Using the 'x86_shani(1way,2way)' SHA256 implementation 2023-11-22T14:47:29Z Using RdSeed as an additional entropy source 2023-11-22T14:47:29Z Using RdRand as an additional entropy source 2023-11-22T14:47:29Z Default data directory /var/lib/bitcoind/.bitcoin 2023-11-22T14:47:29Z Using data directory /var/lib/bitcoind/.bitcoin 2023-11-22T14:47:29Z Config file: /var/lib/bitcoind/bitcoin-d8434da3c14e/bitcoin.conf 2023-11-22T14:47:29Z Config file arg: [signet] addnode="45.79.52.207:38333" 2023-11-22T14:47:29Z Config file arg: [signet] dnsseed="0" 2023-11-22T14:47:29Z Config file arg: [signet] signetblocktime="30" 2023-11-22T14:47:29Z Config file arg: [signet] signetchallenge="512102f7561d208dd9ae99bf497273e16f389bdbd6c4742ddb8e6b216e64fa2928ad8f51ae" 2023-11-22T14:47:29Z Command-line arg: conf="/var/lib/bitcoind/bitcoin-d8434da3c14e/bitcoin.conf" 2023-11-22T14:47:29Z Using at most 125 automatic connections (1024 file descriptors available) 2023-11-22T14:47:29Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements 2023-11-22T14:47:29Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements 2023-11-22T14:47:29Z Script verification uses 0 additional threads 2023-11-22T14:47:29Z scheduler thread start 2023-11-22T14:47:29Z Binding RPC on address ::1 port 8332 2023-11-22T14:47:29Z Binding RPC on address 127.0.0.1 port 8332 2023-11-22T14:47:29Z [http] creating work queue of depth 16 2023-11-22T14:47:29Z Using random cookie authentication. 2023-11-22T14:47:29Z Generated RPC authentication cookie /var/lib/bitcoind/.bitcoin/.cookie 2023-11-22T14:47:29Z [http] starting 4 worker threads 2023-11-22T14:47:29Z Using wallet directory /var/lib/bitcoind/.bitcoin/wallets 2023-11-22T14:47:29Z init message: Verifying wallet(s)… 2023-11-22T14:47:29Z Using /16 prefix for IP bucketing 2023-11-22T14:47:29Z init message: Loading P2P addresses… 2023-11-22T14:47:29Z Creating peers.dat because the file was not found ("/var/lib/bitcoind/.bitcoin/peers.dat") 2023-11-22T14:47:29Z init message: Loading banlist… 2023-11-22T14:47:29Z Recreating the banlist database 2023-11-22T14:47:29Z SetNetworkActive: true 2023-11-22T14:47:29Z Failed to read fee estimates from /var/lib/bitcoind/.bitcoin/fee_estimates.dat. Continue anyway. 2023-11-22T14:47:29Z Cache configuration: 2023-11-22T14:47:29Z * Using 2.0 MiB for block index database 2023-11-22T14:47:29Z * Using 8.0 MiB for chain state database 2023-11-22T14:47:29Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space) 2023-11-22T14:47:29Z init message: Loading block index… 2023-11-22T14:47:29Z Assuming ancestors of block 00000000000000000009c97098b5295f7e5f183ac811fb5d1534040adb93cabd have valid signatures. 2023-11-22T14:47:29Z Setting nMinimumChainWork=00000000000000000000000000000000000000003404ba0801921119f903495e 2023-11-22T14:47:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/blocks/index 2023-11-22T14:47:29Z Opened LevelDB successfully 2023-11-22T14:47:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/blocks/index: 0000000000000000 2023-11-22T14:47:29Z LoadBlockIndexDB: last block file = 0 2023-11-22T14:47:29Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01) 2023-11-22T14:47:29Z Checking all blk files are present... 2023-11-22T14:47:29Z Initializing databases... 2023-11-22T14:47:29Z Initializing chainstate Chainstate [ibd] @ height -1 (null) 2023-11-22T14:47:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/chainstate 2023-11-22T14:47:29Z Opened LevelDB successfully 2023-11-22T14:47:29Z Wrote new obfuscate key for /var/lib/bitcoind/.bitcoin/chainstate: 6063313b8a0911ee 2023-11-22T14:47:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/chainstate: 6063313b8a0911ee 2023-11-22T14:47:29Z [snapshot] allocating all cache to the IBD chainstate 2023-11-22T14:47:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/chainstate 2023-11-22T14:47:29Z Opened LevelDB successfully 2023-11-22T14:47:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/chainstate: 6063313b8a0911ee 2023-11-22T14:47:29Z [Chainstate [ibd] @ height -1 (null)] resized coinsdb cache to 8.0 MiB 2023-11-22T14:47:29Z [Chainstate [ibd] @ height -1 (null)] resized coinstip cache to 440.0 MiB 2023-11-22T14:47:29Z init message: Verifying blocks… 2023-11-22T14:47:29Z block index 6ms 2023-11-22T14:47:29Z Setting NODE_NETWORK on non-prune mode 2023-11-22T14:47:29Z Warning: Disk space for "/var/lib/bitcoind/.bitcoin/blocks" may not accommodate the block files. Approximately 496 GB of data will be stored in this directory. 2023-11-22T14:47:29Z loadblk thread start 2023-11-22T14:47:29Z UpdateTip: new best=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f height=0 version=0x00000001 log2_work=32.000022 tx=1 date='2009-01-03T18:15:05Z' progress=0.000000 cache=0.0MiB(0txo) 2023-11-22T14:47:29Z Failed to open mempool file from disk. Continuing anyway. 2023-11-22T14:47:29Z block tree size = 1 2023-11-22T14:47:29Z nBestHeight = 0 2023-11-22T14:47:29Z AddLocal(172.105.84.86:8333,1) 2023-11-22T14:47:29Z Discover: IPv4 eth0: 172.105.84.86 2023-11-22T14:47:29Z torcontrol thread start 2023-11-22T14:47:29Z loadblk thread exit 2023-11-22T14:47:29Z Bound to 127.0.0.1:8334 2023-11-22T14:47:29Z Bound to [::]:8333 2023-11-22T14:47:29Z Bound to 0.0.0.0:8333 2023-11-22T14:47:29Z 0 block-relay-only anchors will be tried for connections. 2023-11-22T14:47:29Z init message: Starting network threads… 2023-11-22T14:47:29Z net thread start 2023-11-22T14:47:29Z dnsseed thread start 2023-11-22T14:47:29Z Loading addresses from DNS seed seed.btc.petertodd.org. 2023-11-22T14:47:29Z addcon thread start 2023-11-22T14:47:29Z opencon thread start 2023-11-22T14:47:29Z msghand thread start 2023-11-22T14:47:29Z init message: Done loading 2023-11-22T14:47:29Z Loading addresses from DNS seed seed.bitcoin.wiz.biz. 2023-11-22T14:47:30Z Loading addresses from DNS seed seed.bitcoin.sprovoost.nl. 2023-11-22T14:47:30Z Loading addresses from DNS seed seed.bitcoin.jonasschnelli.ch. 2023-11-22T14:47:30Z Loading addresses from DNS seed seed.bitcoin.sipa.be. 2023-11-22T14:47:30Z Loading addresses from DNS seed dnsseed.bluematt.me. 2023-11-22T14:47:30Z Loading addresses from DNS seed dnsseed.emzy.de. 2023-11-22T14:47:30Z Loading addresses from DNS seed seed.bitcoinstats.com. 2023-11-22T14:47:30Z Loading addresses from DNS seed dnsseed.bitcoin.dashjr.org. 2023-11-22T14:47:30Z 301 addresses found from DNS seeds 2023-11-22T14:47:30Z dnsseed thread exit
I believe you're just missing signet outside of the signet section:
signet=1 [signet] signetchallenge=512102f7561d208dd9ae99bf497273e16f389bdbd6c4742ddb8e6b216e64fa2928ad8f51ae addnode=45.79.52.207:38333 dnsseed=0 signetblocktime=30
It now is immediately updated; not sure if that's right though since it says height=0. Is there just a single block on mutinynet?
2023-11-22T14:58:29Z UpdateTip: new best=00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6 height=0 version=0x00000001 log2_work=22.206105 tx=1 date='2020-09-01T00:00:00Z' progress=1.000000
full startup log:
2023-11-22T14:58:29Z Signet with challenge 512102f7561d208dd9ae99bf497273e16f389bdbd6c4742ddb8e6b216e64fa2928ad8f51ae 2023-11-22T14:58:29Z Bitcoin Core version v24.99.0-gd8434da3c14ed6723d86ef2cd266008d366e1413 (release build) 2023-11-22T14:58:29Z Signet derived magic (message start): a5df2dcb 2023-11-22T14:58:29Z Using the 'x86_shani(1way,2way)' SHA256 implementation 2023-11-22T14:58:29Z Using RdSeed as an additional entropy source 2023-11-22T14:58:29Z Using RdRand as an additional entropy source 2023-11-22T14:58:29Z Default data directory /var/lib/bitcoind/.bitcoin 2023-11-22T14:58:29Z Using data directory /var/lib/bitcoind/.bitcoin/signet 2023-11-22T14:58:29Z Config file: /var/lib/bitcoind/bitcoin-d8434da3c14e/bitcoin.conf 2023-11-22T14:58:29Z Config file arg: signet="1" 2023-11-22T14:58:29Z Config file arg: [signet] addnode="45.79.52.207:38333" 2023-11-22T14:58:29Z Config file arg: [signet] dnsseed="0" 2023-11-22T14:58:29Z Config file arg: [signet] signetblocktime="30" 2023-11-22T14:58:29Z Config file arg: [signet] signetchallenge="512102f7561d208dd9ae99bf497273e16f389bdbd6c4742ddb8e6b216e64fa2928ad8f51ae" 2023-11-22T14:58:29Z Command-line arg: conf="/var/lib/bitcoind/bitcoin-d8434da3c14e/bitcoin.conf" 2023-11-22T14:58:29Z Using at most 125 automatic connections (1024 file descriptors available) 2023-11-22T14:58:29Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements 2023-11-22T14:58:29Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements 2023-11-22T14:58:29Z Script verification uses 0 additional threads 2023-11-22T14:58:29Z scheduler thread start 2023-11-22T14:58:29Z Binding RPC on address ::1 port 38332 2023-11-22T14:58:29Z Binding RPC on address 127.0.0.1 port 38332 2023-11-22T14:58:29Z [http] creating work queue of depth 16 2023-11-22T14:58:29Z Using random cookie authentication. 2023-11-22T14:58:29Z Generated RPC authentication cookie /var/lib/bitcoind/.bitcoin/signet/.cookie 2023-11-22T14:58:29Z [http] starting 4 worker threads 2023-11-22T14:58:29Z Using wallet directory /var/lib/bitcoind/.bitcoin/signet/wallets 2023-11-22T14:58:29Z init message: Verifying wallet(s)… 2023-11-22T14:58:29Z Using /16 prefix for IP bucketing 2023-11-22T14:58:29Z init message: Loading P2P addresses… 2023-11-22T14:58:29Z Creating peers.dat because the file was not found ("/var/lib/bitcoind/.bitcoin/signet/peers.dat") 2023-11-22T14:58:29Z init message: Loading banlist… 2023-11-22T14:58:29Z Recreating the banlist database 2023-11-22T14:58:29Z SetNetworkActive: true 2023-11-22T14:58:29Z Failed to read fee estimates from /var/lib/bitcoind/.bitcoin/signet/fee_estimates.dat. Continue anyway. 2023-11-22T14:58:29Z Cache configuration: 2023-11-22T14:58:29Z * Using 2.0 MiB for block index database 2023-11-22T14:58:29Z * Using 8.0 MiB for chain state database 2023-11-22T14:58:29Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space) 2023-11-22T14:58:29Z init message: Loading block index… 2023-11-22T14:58:29Z Validating signatures for all blocks. 2023-11-22T14:58:29Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000 2023-11-22T14:58:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/signet/blocks/index 2023-11-22T14:58:29Z Opened LevelDB successfully 2023-11-22T14:58:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/signet/blocks/index: 0000000000000000 2023-11-22T14:58:29Z LoadBlockIndexDB: last block file = 0 2023-11-22T14:58:29Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01) 2023-11-22T14:58:29Z Checking all blk files are present... 2023-11-22T14:58:29Z Initializing databases... 2023-11-22T14:58:29Z Initializing chainstate Chainstate [ibd] @ height -1 (null) 2023-11-22T14:58:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/signet/chainstate 2023-11-22T14:58:29Z Opened LevelDB successfully 2023-11-22T14:58:29Z Wrote new obfuscate key for /var/lib/bitcoind/.bitcoin/signet/chainstate: b8665971a96e4b44 2023-11-22T14:58:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/signet/chainstate: b8665971a96e4b44 2023-11-22T14:58:29Z [snapshot] allocating all cache to the IBD chainstate 2023-11-22T14:58:29Z Opening LevelDB in /var/lib/bitcoind/.bitcoin/signet/chainstate 2023-11-22T14:58:29Z Opened LevelDB successfully 2023-11-22T14:58:29Z Using obfuscation key for /var/lib/bitcoind/.bitcoin/signet/chainstate: b8665971a96e4b44 2023-11-22T14:58:29Z [Chainstate [ibd] @ height -1 (null)] resized coinsdb cache to 8.0 MiB 2023-11-22T14:58:29Z [Chainstate [ibd] @ height -1 (null)] resized coinstip cache to 440.0 MiB 2023-11-22T14:58:29Z init message: Verifying blocks… 2023-11-22T14:58:29Z block index 7ms 2023-11-22T14:58:29Z Setting NODE_NETWORK on non-prune mode 2023-11-22T14:58:29Z loadblk thread start 2023-11-22T14:58:29Z UpdateTip: new best=00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6 height=0 version=0x00000001 log2_work=22.206105 tx=1 date='2020-09-01T00:00:00Z' progress=1.000000 cache=0.0MiB(0txo) 2023-11-22T14:58:29Z Failed to open mempool file from disk. Continuing anyway. 2023-11-22T14:58:29Z block tree size = 1 2023-11-22T14:58:29Z nBestHeight = 0 2023-11-22T14:58:29Z AddLocal(172.105.84.86:38333,1) 2023-11-22T14:58:29Z Discover: IPv4 eth0: 172.105.84.86 2023-11-22T14:58:29Z Bound to 127.0.0.1:38334 2023-11-22T14:58:29Z Bound to [::]:38333 2023-11-22T14:58:29Z Bound to 0.0.0.0:38333 2023-11-22T14:58:29Z 0 block-relay-only anchors will be tried for connections. 2023-11-22T14:58:29Z init message: Starting network threads… 2023-11-22T14:58:29Z DNS seeding disabled 2023-11-22T14:58:29Z loadblk thread exit 2023-11-22T14:58:29Z torcontrol thread start 2023-11-22T14:58:29Z net thread start 2023-11-22T14:58:29Z addcon thread start 2023-11-22T14:58:29Z opencon thread start 2023-11-22T14:58:29Z msghand thread start 2023-11-22T14:58:29Z init message: Done loading
reply
Oh, right, I've seen this link shared before here somewhere. Thanks, joined!
reply
Update: Or maybe that signet=1 is missing is intended since you can run mainnet and signet on the same node at the same time?
But I see no
2023-11-22T14:58:29Z Bound to 127.0.0.1:38334 2023-11-22T14:58:29Z Bound to [::]:38333 2023-11-22T14:58:29Z Bound to 0.0.0.0:38333
without signet=1
reply
Ooof, regarding:
It now is immediately updated; not sure if that's right though since it says height=0. Is there just a single block on mutinynet?
nvm, my firewall blocked requests to 45.79.52.207, it's syncing now, haha
reply
I wanted to crosspost this to nostr to try out the feature but can't find the note on nostr now, lol
reply
PR is up for this via @bitcoinplebdev if you want to review it 😇
reply
good point, will do
reply
this took longer than expected, going to review now
reply