Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch miner info from stack-blockchain #14

Closed
gzelda opened this issue Sep 28, 2020 · 3 comments
Closed

Fetch miner info from stack-blockchain #14

gzelda opened this issue Sep 28, 2020 · 3 comments

Comments

@gzelda
Copy link
Member

gzelda commented Sep 28, 2020

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

  • How much bitcoin other miners burnt in last cycle?
  • Who won the block in last cycle? What is the VRF function returns in last cycle?

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

  • If we could launch our own test node and synced with "bitcoind.krypton.blockstack.org". Then monitoring each block, get how much other miners burnt in the last cycle.

Additional context

  • In the mainnet, we could run a bitcoin lite node to monitoring the confirm block related to stacks-mining.
@gzelda
Copy link
Member Author

gzelda commented Oct 9, 2020

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

@gzelda
Copy link
Member Author

gzelda commented Oct 30, 2020

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
Copy link
Collaborator

SherLzp commented Nov 2, 2020

fixed by #30

@SherLzp SherLzp closed this as completed Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants