trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
664 stars 652 forks source link

Block sync stopped at height 761249 #820

Closed qinheqing closed 2 years ago

qinheqing commented 2 years ago

E1101 19:02:56.977401 16520 blockbook.go:512] syncIndexLoop MsgTx.BtcDecode: too many witness items to fit into max message size [count 500003, max 500000] /go/src/github.com/trezor/blockbook/bchain/coins/btc/bitcoinrpc.go:598: 761249 000000000000000000070742427fa10ec3c66d006160155a704d9f56d090a3ea

qinheqing commented 2 years ago

I noticed that there is an update on the master branch, is it done to fix this problem?

@martinboehm

Dehumanizer77 commented 2 years ago

It was supposed to fix the problem but apparently it isn't fixed yet, Martin is working on a fix right now.

Dehumanizer77 commented 2 years ago

Now fixed in master and will be fixed in v0.4.0 branch in a few moments.

qinheqing commented 2 years ago

E1101 20:16:03.348928 25149 blockbook.go:187] internalState: DB version 6 of column 'default' does not match the required version 5. DB is not compatible.

I still get an error when I restart after the update.

bb4L commented 2 years ago

fyi latest build has failed on master

Dehumanizer77 commented 2 years ago

@qinheqing you have blockbook built from branch v0.4.0, you will need to build it from that branch, as there is already a newer rocksDB in the v0.4.0 branch

@bb4L try to do "make clean-all" before build. I have built it from master an hour ago and it's already working on our servers.

martinboehm commented 2 years ago

@qinheqing if you built/run your Blockbook from the branch v0.4.0, you have to stay in this branch, the database is not backwards compatible.

alexjavabraz commented 2 years ago

v0.4.0 already have this fix?

Dehumanizer77 commented 2 years ago

v0.4.0 already have this fix?

yes