Blockchain balance omitts to negative (-) balance after reaching 90353440637

+1 vote
Hi

I am currently exploring multichain. I have set it to use native assets, and using walletdbversion=1 , because I want to use Alias names. The problem I am having is that my wallet balance omits to negative (-), after it reaches the balance of 90353440637, it omits to -90353440637. Any help with that?
asked May 23, 2017 by FihlaTV
Thanks. Can you please explain what you mean by alias names?

And show the API call and output that gives a negative balance?
By alias names I mean i want to use Alice as an account Holder name instead of using the address to make transaction. here is a log, notice the balance of assets

 

{"method":"getinfo","params":[],"id":1,"chain_name":"jewelcoin"}

{
    "version" : "1.0 alpha 27",
    "protocolversion" : 10006,
    "chainname" : "jewelcoin",
    "description" : "Jewelcoin E-Cash",
    "protocol" : "bitcoin",
    "port" : 7327,
    "setupblocks" : 60,
    "nodeaddress" : "jewelcoin@10.9.191.113:7327",
    "burnaddress" : "1XXXXXXWvXXXXXXXSiXXXXXXj9XXXXXXWrAqT4",
    "incomingpaused" : false,
    "miningpaused" : false,
    "walletversion" : 60000,
    "balance" : -83909440637.09552002,
    "walletdbversion" : 1,
    "reindex" : false,
    "blocks" : 100560,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "difficulty" : 0.00001526,
    "testnet" : false,
    "keypoololdest" : 1488573281,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00000000,
    "errors" : ""

2 Answers

0 votes

Thanks - this is an overflow error in the API response, since there are more than 263 raw units of the native blockchain currency (where a raw unit is 1/100000000 part of a whole unit, as defined by your blockchain parameters). This is a bug, but you should please consider reducing your mining reward, or else reducing the native-currency-multiple, so that this limit is not reached.

answered May 24, 2017 by MultiChain
0 votes
Beta 2, just released, fixes this problem by not allowing blockchains to be created which will lead to this overflow.
answered Jun 15, 2017 by MultiChain
...