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

checking enforcecheckpoints in daemon #177

Closed
willyfromtheblock opened this issue Oct 8, 2017 · 7 comments
Closed

checking enforcecheckpoints in daemon #177

willyfromtheblock opened this issue Oct 8, 2017 · 7 comments
Assignees
Milestone

Comments

@willyfromtheblock
Copy link
Member

Is there a way to show the current status of "enforcechekpoints" in the daemon?

Can this be included in getinfo?

@willyfromtheblock
Copy link
Member Author

I'm currently testing branch listtxns-fix2.

getinfo includes a "checkpoints" value, which I can't seem to change.

I tried various settings in .ppcoin/ppcoin.conf.

getinfo output:
"checkpoints" : true,

tried in ppcoin.conf:
checkpoints=false
checkpoints=0
enforcecheckpoint=false
enforcecheckpoint=0
enforcecheckpoints=false
enforcecheckpoints=0

@hrobeers
Copy link

hrobeers commented Dec 1, 2017

Let's reopen this issue.

@hrobeers hrobeers reopened this Dec 1, 2017
@hrobeers
Copy link

hrobeers commented Dec 4, 2017

#262 makes sure it is called enforcecheckpoint everywhere.
So either:

  • enforcecheckpoint=0 in peercoin.conf
  • -enforcecheckpoint=0 on commandline
  • enforcecheckpoint false on RPC interface

@hrobeers hrobeers closed this as completed Dec 4, 2017
@willyfromtheblock
Copy link
Member Author

"checkpoints" : false,
works with
enforcecheckpoint=0

Great work!

@willyfromtheblock
Copy link
Member Author

willyfromtheblock commented Jun 20, 2019

for 0.8:
./testnet-cli -testnet getblockchaininfo | grep check
./testnet-cli -testnet getwalletinfo | grep check
./testnet-cli -testnet getnetworkinfo | grep check
./testnet-cli -testnet -getinfo | grep check

all got nothing. where did it go?

@peerchemist please reopen

@peerchemist peerchemist reopened this Jun 24, 2019
@backpacker69 backpacker69 self-assigned this Jun 28, 2019
@backpacker69 backpacker69 modified the milestones: v0.6.2, v0.8 Jun 28, 2019
@backpacker69 backpacker69 removed the v0.6 label Jun 28, 2019
@backpacker69
Copy link
Member

for 0.8:
./testnet-cli -testnet getblockchaininfo | grep check
./testnet-cli -testnet getwalletinfo | grep check
./testnet-cli -testnet getnetworkinfo | grep check
./testnet-cli -testnet -getinfo | grep check

all got nothing. where did it go?

@peerchemist please reopen

that information went to getcheckpoint command, see subscribemode.
it will be either "enforce" or "advisory" depending on your setting.

@willyfromtheblock
Copy link
Member Author

thank's, closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants