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

Generate regtest blocks creates infinite loop #184

Open
yyforyongyu opened this issue May 18, 2024 · 1 comment
Open

Generate regtest blocks creates infinite loop #184

yyforyongyu opened this issue May 18, 2024 · 1 comment

Comments

@yyforyongyu
Copy link
Contributor

Steps to Reproduce

  1. start a new utreexod in regtest
  2. mine a block using utreexoctl generate 1
  3. the following logs are returned
2024-05-18 17:47:07.844 [DBG] MINR: Considering 0 transactions for inclusion to new block
2024-05-18 17:47:07.844 [ERR] MINR: Failed to create new block template: utreexo viewpoint is active but no utreexo proof datawas included in the block
2024-05-18 17:47:07.844 [DBG] MINR: Considering 0 transactions for inclusion to new block
2024-05-18 17:47:07.844 [ERR] MINR: Failed to create new block template: utreexo viewpoint is active but no utreexo proof datawas included in the block
2024-05-18 17:47:07.844 [DBG] MINR: Considering 0 transactions for inclusion to new block
2024-05-18 17:47:07.844 [ERR] MINR: Failed to create new block template: utreexo viewpoint is active but no utreexo proof datawas included in the block
...
@kannapoix
Copy link

kannapoix commented Aug 29, 2024

I can't reproduce this. Just leave commands which I used.
I'm using f68f79d.

go run --tags=bdkwallet . --utreexoproofindex --prune=0 --miningaddr=bcrt1qdacmhk864uwkv834zn8rhvxcku4mzk4uy9lux5 --regtest --datadir=$HOME/.utreexod/data --configfile=$HOME/.utreexod/utreexod.conf

go run ./cmd/utreexoctl --datadir=$HOME/.utreexod/data --configfile=$HOME/.utreexod/utreexoctl.conf generate 

btcd logged as

[INF] MINR: Block submitted via CPU miner accepted (hash 0b6372d9179d4c855c7bb38ea8de04ecff21a8c291583f6669e30f0181d96500, amount 50 BTC)

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