Comments (5)
Using a branch, we confirmed this is an issue with printing. I printed the block number in the log line twice, once early in the string and once at the end, and got this:
I0131 02:31:07.543604 miner/worker.go:539] commit new work on block 20491 with 0 txs & 0 uncles. Took 199.953ยตs
I0131 02:31:07.543714 miner/worker.go:435] ๐จ ๐ checking block #20485. Mined 5 blocks back: block #204
I0131 02:31:10.000260 core/blockchain.go:1001] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 2.76006ms. #20491 [c41ab71e / c41ab71e]
from go-musicoin.
I think this issue is actually a printing/flushing issue. I have yet to see an example where the block number referenced does not happen to be a prefix of the correct block number.
Unfortunately, our logs are not going into a file (as far as I can tell) so we can't grep for a complete history.
from go-musicoin.
Ah, also note these lines in my screen shot, showing the word "confirmatio" (missing the "n"), although other lines show the full word:
I0131 01:15:09.123630 miner/worker.go:342] ๐จ Mined block (#20209 / 5eb067d1). Wait 5 blocks for confirmatio
I0131 01:15:09.124811 miner/worker.go:539] commit new work on block 20210 with 2 txs & 1 uncles. Took 1.104329ms
I0131 01:15:09.124874 miner/worker.go:435] ๐จ ๐ Mined 5 blocks back: block #202
I0131 01:15:09.126401 miner/worker.go:539] commit new work on block 20210 with 2 txs & 1 uncles. Took 1.05576
from go-musicoin.
I'm asking a guy, his response:
"And Blockchain is not functioning properly. Interestingly, I had a similar experience. In fact, this "block back" feature is a powerful feature that prevents dangers such as net attacks. But you have "block back 186" as a constant. In my case this number was variable(this was also a problem). In my case debugging solved the error. Perhaps your case also needs debugging. This problem can be solved.
I would first recommend that Musicoin's directory not be duplicated with Ethereum. Duplicating Ethereum sometimes makes debugging confusing. Of course, it does not matter if you do not run Ethereum at least once. And please note that I'm not analyzing or testing all the source code for musicoin, so there may be other problems.
"
from go-musicoin.
solved with this #13
from go-musicoin.
Related Issues (20)
- Fix fork parameters HOT 13
- chain gasLimit keeps decaying HOT 5
- Blockchain did not syncing HOT 2
- Withdrawal Issue HOT 3
- Strip binaries for release builds HOT 2
- Provide diff for code verification HOT 6
- Huge number of files in chain data folder HOT 1
- GMC 2.0 is not compatible with 2.5 HOT 10
- Test Byzantium Transition HOT 5
- Hardfork for MCIP-6 HOT 17
- An automated way to check nodes quality HOT 1
- duk_error(ctx, err_code, "%s", str); HOT 1
- geth.ipc HOT 3
- money now showing up in desktop wallet HOT 3
- GMC v.2.6.2 memory leak HOT 3
- ########## BAD BLOCK ######### HOT 2
- Lost/Stolen music HOT 1
- Maintain compatibility with upstream geth HOT 2
- Changing dpath in line with SLIP-044 HOT 1
- Extremely malicious chain attack(s) in 51% double spending HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-musicoin.