Giter Site home page Giter Site logo

issue when syncing chain data about ocore HOT 5 CLOSED

byteball avatar byteball commented on July 26, 2024
issue when syncing chain data

from ocore.

Comments (5)

superisaac avatar superisaac commented on July 26, 2024

the problematic unit is always "80ftUd7v34yJstagU5EwTu6wyyDW0yRk9XX/K8ZL36Y="

from ocore.

superisaac avatar superisaac commented on July 26, 2024

It's very odd, I query the database and found the sequence to be 'good', but in the error message it's 'temp-bad', can I just delete the row in the units table?

sqlite> select is_stable, sequence from units where unit = '80ftUd7v34yJstagU5EwTu6wyyDW0yRk9XX/K8ZL36Y='; 
0|good

from ocore.

tarmo888 avatar tarmo888 commented on July 26, 2024

https://github.com/byteball/byteballcore/blob/master/storage.js#L730 looks currently like this:

if (!_.isEqual(props, props2)) {

your error shows that on your line 730, you have this

throw Error("different props of "+unit+", mem: "+JSON.stringify(props2)+", db: "+JSON.stringify(props));

headless-wallet has this dependency

"byteballcore": "git+https://github.com/byteball/byteballcore.git",

have you tried npm update?

from ocore.

superisaac avatar superisaac commented on July 26, 2024

@tarmo888 Maybe the problem is here, I just forked this repo to work around a problem of installing sqlite3, and forgot to merge the latest upstream. but currently I met the problem of installing sqlite3 again

from ocore.

superisaac avatar superisaac commented on July 26, 2024

@tarmo888 I merged the upstream and rebuilt our docker, it works, thank you!

from ocore.

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.