Daemon-Technologies / Mining-Bot

26 stars 14 forks source link

Fetch miner info from stack-blockchain #14

Closed gzelda closed 3 years ago

gzelda commented 3 years ago

Is your feature request related to a problem? Please describe. The mining bot client should analyze the detail information about miner operation, like:

Describe the solution you'd like The stacks-blockchain connect bitcoind, a test bitcoin node of bitcoin network. Because the burn operation will reflect to "sending commit info and certain bitcoin to a bitcoin address", so we could track the bitcoin address and see who and what another address sent in the last cycle.

Pascal in Blockstack Community gives me another option: The stacks-blockchain is a blockchain infrastructure, it has a database behind the blockchain. He said I can use database operation to get the information stored in block(like transaction). But referred to "how much other miners paid", it should be fetched by bitcoind absolutely, because the consensus information could not be fetched in stacks-blockchain.

Describe alternatives you've considered

Additional context

gzelda commented 3 years ago

like "how much bitcoin other miners burnt in any certain cycles?"

gzelda commented 3 years ago

Use https://github.com/tyGavinZJU/stacks-dump as rpc server, deployed at 8.210.105.204 Visit by http://8.210.105.204:23456/minerList (Visit will be super slow because of the low configuration of server)

SherLzp commented 3 years ago

fixed by #30