Open nixfreak opened 1 week ago
Trying ... again
cd /stacks-blockchain ; cargo clean;
cargo build --features monitoring_prom,slog_json --release --bin stacks-node
sudo systemctl start stacks.service
`● stacks.service - Stacks Blockchain Loaded: loaded (/etc/systemd/system/stacks.service; enabled; preset: enabled) Active: active (running) since Mon 2024-07-01 14:39:13 CDT; 8s ago Process: 35083 ExecStartPost=/bin/sh -c umask 022; sleep 2 && pgrep -f "/usr/local/bin/s> Main PID: 35082 (sh) Tasks: 4 (limit: 9442) Memory: 41.0M CPU: 5.110s CGroup: /system.slice/stacks.service ├─35082 /bin/sh -c "/usr/local/bin/stacks-node start --config /etc/stacks-block> └─35085 /usr/local/bin/stacks-node start --config /etc/stacks-blockchain/Config>
Jul 01 14:39:11 stacks-node-01 systemd[1]: Starting stacks.service - Stacks Blockchain... Jul 01 14:39:13 stacks-node-01 systemd[1]: Started stacks.service - Stacks Blockchain `
WARN [1719862813.367322] [stackslib/src/burnchains/bitcoin/network.rs:194] [main] Failed to handshake with 0.0.0.0:8333: SerializationError(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) WARN [1719862813.367401] [stackslib/src/burnchains/bitcoin/network.rs:194] [main] Failed to handshake with 0.0.0.0:8333: SerializationError(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) INFO [1719862813.480841] [testnet/stacks-node/src/run_loop/boot_nakamoto.rs:205] [epoch-2/3-boot] Failed to open Sortition DB while checking current burn height, assuming height = 0 INFO [1719862814.480987] [testnet/stacks-node/src/run_loop/boot_nakamoto.rs:205] [epoch-2/3-boot] Failed to open Sortition DB while checking current burn height, assuming height = 0
Your Bitcoin node is refusing to talk to your Stacks node. Can you confirm you're on Bitcoin 25.0 (which is what the docs say)? Also, can you post the [burnchain]
portion of your Stacks node's config file (sans credentials)?
Thanks for replying .. I am using Bitcoin node version 27
Below is burnchain
[burnchain]
chain = "bitcoin"
mode = "mainnet"
peer_host = "127.0.0.1"
#peer_host = "0.0.0.0"
username = "btcuser" # bitcoin rpc username from bitcoin config
password = "btcpass" # bitcoin rpc password from bitcoin config
rpc_port = 8332 # bitcoin rpc port from bitcoin config
peer_port = 8333 # bitcoin p2p port from bitcoin config
satoshis_per_byte = 100
#burn_fee_cap = 20000
burn_fee_cap = 450000
burnchain] chain = "bitcoin" mode = "mainnet" peer_host = "127.0.0.1"
username = "btcuser" # bitcoin rpc username from bitcoin config password = "btcpass" # bitcoin rpc password from bitcoin config rpc_port = 8332 # bitcoin rpc port from bitcoin config peer_port = 8333 # bitcoin p2p port from bitcoin config satoshis_per_byte = 100
burn_fee_cap = 450000
Your Bitcoin node is refusing to talk to your Stacks node. Can you confirm you're on Bitcoin 25.0 (which is what the docs say)? Also, can you post the
[burnchain]
portion of your Stacks node's config file (sans credentials)?
So your saying stacks doesn't work with the newest node version 27? ... It was working before though .. hmm I wonder if something changed on stacks end ? .. I guess doesn't matter .. so can I change versions of btc node without having to re-index everything again?
Going through step-by-step to setup stacks-blockchain node..
cd /stacks-blockchain/
cargo clean
output: warning: `/home/stacks1/stacks-blockchain/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Removed 3925 files, 2.3GiB total
I followed the miner docs step-by-step here -> https://github.com/stacksfoundation/miner-docs/tree/main
Describe the bug Stacks error out trying to connect to local bitcoin node.
Steps To Reproduce
tail -f /stacks-blockchain/miner.log
Trying to sync mainnet stacks chain tip
Expected behavior Expected for stacks to sync
Environment (please complete the following information):
Port 8333 is open and has other peers connecting
Bitcoin sync tip at 850124
Verified bitcoin synced to tip