You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a little testing tool for simnet & lnd nodes, and it would be extremely convenient if you could specify a miningaddr on the fly per generate, rather than at startup. I'm trying to make it easy to fund nodes quickly, but due to miningaddr only being configurable as a btcd argument, I would have to restart btcd each time to fund a node.
Ideally I'd instead like to generate a new address from the node, and generate a block with a command like btcctl generate 1 --miningaddr=[result from lncli newaddress here]. I'm not sure how generate and miningaddr are put together, but hopefully this wouldn't be too difficult.
The text was updated successfully, but these errors were encountered:
I would like to see this as well. But I would suggest not touching generate and instead implementing generatetoaddress behaving the same as in bitcoin-cli.
I work on a testing tool for simnet clusters and I want to support both btcd/bitcoind as master backend node for mining into a faucet. Currently I have to branch the code (and have prior miningaddr config in btcd case).
I'm working on a little testing tool for simnet & lnd nodes, and it would be extremely convenient if you could specify a
miningaddr
on the fly per generate, rather than at startup. I'm trying to make it easy to fund nodes quickly, but due tominingaddr
only being configurable as abtcd
argument, I would have to restart btcd each time to fund a node.Ideally I'd instead like to generate a new address from the node, and generate a block with a command like
btcctl generate 1 --miningaddr=[result from lncli newaddress here]
. I'm not sure how generate and miningaddr are put together, but hopefully this wouldn't be too difficult.The text was updated successfully, but these errors were encountered: