Git Product home page Git Product logo

mitum-currency-fixed-network's People

Contributors

spikeekips avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

mitum-currency-fixed-network's Issues

Different digest api result from multi node

I ran 4 mitum-currency nodes(n0, n1, n2, n3).
First I initialized only n0 node to generate genesis block, then ran all nodes.

And I created accounts from genesis account.

After all, I queried each account's info using node's digest api.
For test I queied to n0's api and n1's api.

I got same results about other accounts from both api but genesis account query gave different result.
I found genesis account's info from n0 node digest api but response 'account not found' from n1 node digest api.

All nodes inclue n1 node was in consensus mode.

n0 digest api

{
"_hint": "a016:0.0.1",
"hint": {
"name": "mitum-currency-account-value",
"hint": "a018:0.0.1"
},
"_embedded": {
"_hint": "a018:0.0.1",
"hash": "FEXo4xR8zobEehsoHLSc8dcnjNhYJxCLf8F7YP8ULAQu",
"address": "8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn-a000:0.0.1",
"keys": {
"_hint": "a004:0.0.1",
"hash": "8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn",
"keys": [
{
"_hint": "a003:0.0.1",
"weight": 100,
"key": "rcrd3KA2wWNhKdAP8rHRzfRmgp91oR9mqopckyXRmCvG-0113:0.0.1"
}
],
"threshold": 100
},
"balance": [
{
"_hint": "a022:0.0.1",
"amount": "99999999999999889366",
"currency": "MCC"
}
],
"height": 5118,
"previous_height": 5007
},
"_links": {
"operations:{offset,reverse}": {
"templated": true,
"href": "/account/8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn-a000:0.0.1/operations?offset={offset}&reverse=1"
},
"block": {
"href": "/block/5118"
},
"previous_block": {
"href": "/block/5007"
},
"self": {
"href": "/account/8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn-a000:0.0.1"
},
"operations": {
"href": "/account/8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn-a000:0.0.1/operations"
},
"operations:{offset}": {
"href": "/account/8PdeEpvqfyL3uZFHRZG5PS3JngYUzFFUGPvCg29C2dBn-a000:0.0.1/operations?offset={offset}",
"templated": true
}
}
}

n1 digest api

{
"detail": "account not found:\n    github.com/spikeekips/mitum-currency/digest.(*Handlers).handleAccount\n        /storage/mitum-currency/digest/handler_account.go:38",
"_hint": "a017:0.0.1",
"type": "https://github.com/spikeekips/mitum-currency/problems/others",
"title": "account not found"
}

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.