Giter VIP home page Giter VIP logo

Comments (5)

phiferd avatar phiferd commented on May 28, 2024 1

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.

phiferd avatar phiferd commented on May 28, 2024

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.

image

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.

phiferd avatar phiferd commented on May 28, 2024

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.

immartian avatar immartian commented on May 28, 2024

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.

immartian avatar immartian commented on May 28, 2024

solved with this #13

from go-musicoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.