spikeekips / mitum-currency-fixed-network Goto Github PK
View Code? Open in Web Editor NEWmitum model case for cryptocurrency
License: GNU General Public License v3.0
mitum model case for cryptocurrency
License: GNU General Public License v3.0
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"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.