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

Add getmininginfo call #228

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

BHodl
Copy link
Contributor

@BHodl BHodl commented Aug 23, 2021

Let me know if I miss something. Not tested!

@BHodl
Copy link
Contributor Author

BHodl commented Aug 26, 2021

The getmininginfo call tested and working. The getblockhashps call don't pass the gatekeeper. Maybe related to api.properties, wip.

@BHodl
Copy link
Contributor Author

BHodl commented Aug 26, 2021

Fixed but.. Currently getblockhashps with optional blockheight not returning the right hashps. Let wait the node is fully synced to see...
Maybe we shoudl add a send_to_stats_node function for that kind of call, not including wallet specifics.

@Kexkey
Copy link
Collaborator

Kexkey commented Sep 1, 2021

Thanks and sorry for the delay, have been particularly busy lately.

Did you get a chance to make it work?

@BHodl
Copy link
Contributor Author

BHodl commented Sep 1, 2021

Yeah! No problemo, we all want to see lnurl stuff in cyphernode, keep up the good work! The getmininginfo is working perfectly, but things need to be modified for the getblockhashps. I will probably change the call name for getnetworkhashps to be consistent with bitcoincore call, and modify the returned data. I wait my cyphernode to be fully sync to test that one. I will confirm when fully tested.

@BHodl
Copy link
Contributor Author

BHodl commented Sep 8, 2021

Fully tested and working! It's my first PR so let me know if I miss something. I'm mostly setup for testing changes now, next time I will probably do my coding and testing before pushing the PR. One thing that can be improved is adding a send_to_stats_node function in sendtobitcoinnode.sh not including wallets specifics for stats call. But since it's affect all stats call, a separate PR would be better. Let me know what you think!

@BHodl
Copy link
Contributor Author

BHodl commented Mar 22, 2022

Updated to solve v0.8.0 conflicts. Tested and working.

doc/openapi/v0/cyphernode-api.yaml Show resolved Hide resolved
proxy_docker/app/script/blockchainrpc.sh Outdated Show resolved Hide resolved
proxy_docker/app/script/blockchainrpc.sh Outdated Show resolved Hide resolved
proxy_docker/app/script/requesthandler.sh Show resolved Hide resolved
proxy_docker/app/script/tests.sh Outdated Show resolved Hide resolved
@Kexkey
Copy link
Collaborator

Kexkey commented Mar 24, 2022

Rebase on dev, thanks!

@BHodl BHodl changed the base branch from master to dev March 24, 2022 23:23
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

Successfully merging this pull request may close these issues.

2 participants