Closed friedger closed 1 year ago
for mining, i would absolutely say to run your own btc node.
i would have expected mock mining to work with the public node - i'll have to look into it a little more, but i don't recall the mock miner checking for utxo's (it's been a while since i've run a mock miner, i'll have to test this myself).
perhaps you are using a valid mining config (with keys), but then set mock_miner = true
?
if that above is true - i'd first try commenting those lines to see if it makes a difference.
No keys in the Config.toml
strange - i'll see if i can reproduce this on my end. the odd part to me is the addition of the btc address in the log (which is a valid address). i'm not sure if that's a generic hardcoded address at the moment, but i'll see what what happens when i test
With 2.1.0+ this works
In conf/mainnet/Config.toml, I set
The mining setting is recognized but the bitcoin node (
peer_host = "bitcoin.mainnet.stacks.org"
) is not accessible, I get following log:Is mock mining intended to work with this docker setup? If yes, do I need to run my own bitcoin node? Should this be a setting in the .env?