Granting and revoking rights charges a fee?

0 votes
Why does my balance change when I grant/revoke rights? Where is the fee going? This isn't a relay fee because the amount missing isn't the relay fee amount. Note I did this as the only node on the network so even if there were a fee it should have gone right back to myself.

 

    "balance" : 2900.00000000

./multichain-cli cointest revoke <address> mine

./multichain-cli cointest getinfo

...

    "balance" : 2899.9997530",

     "relayfee" : 0.0010,

...

 

./multichain-cli cointest grant <address> mine

./multichain-cli cointest getinfo

...

    "balance" : 2899.99950500,

...
asked Dec 19, 2015 by cyb0rg
This is the raw transaction data from the first time I did this. As you can see some has already been removed ("value" : 49.99975300 should be 50.0), but it did not go anywhere ("value" : 0.00000000). Poof into the aether?

    "vout" : [
        {
            "value" : 0.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 6a73c1351db0ca5ad6248ad47558160a2c6bef93 OP_EQUALVERIFY OP_CHECKSIG 73706b700001000000000000000000008c2e7656 OP_DROP",
                "hex" : "76a9146a73c1351db0ca5ad6248ad47558160a2c6bef9388ac1473706b700001000000000000000000008c2e765675",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "1FPUc8NK2YzPbkY8B73DxXXzNh95U4v9wGT69M"
                ]
            },
            "assets" : [
            ],
            "permissions" : [
                {
                    "connect" : false,
                    "send" : false,
                    "receive" : false,
                    "issue" : false,
                    "mine" : true,
                    "admin" : false,
                    "startblock" : 0,
                    "endblock" : 0,
                    "timestamp" : 1450585740
                }
            ]
        },
        {
            "value" : 49.99975300,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 6a73c1351db0ca5ad6248ad47558160a2c6bef93 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9146a73c1351db0ca5ad6248ad47558160a2c6bef9388ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "1FPUc8NK2YzPbkY8B73DxXXzNh95U4v9wGT69M"
                ]
            },
            "assets" : [
            ],
            "permissions" : [
            ]
        }
    ],
    "data" : [
    ]

1 Answer

0 votes

It could be a transaction fee, but not showing up yet in your wallet because there's a delay from when you receive a transaction fee to when it's spendable. Do you want to paste your blockchain parameters (output from getblockchainparams) here so we can understand a bit better how this chain is configured?

answered Dec 20, 2015 by MultiChain
{
    "chain-protocol" : "multichain",
    "chain-description" : "Test Network",
    "chain-is-testnet" : true,
    "target-block-time" : 15,
    "maximum-block-size" : 8000000,
    "default-network-port" : 6003,
    "default-rpc-port" : 6004,
    "anyone-can-connect" : true,
    "anyone-can-send" : true,
    "anyone-can-receive" : true,
    "anyone-can-issue" : false,
    "anyone-can-mine" : false,
    "anyone-can-admin" : false,
    "allow-p2sh-outputs" : true,
    "allow-multisig-outputs" : true,
    "setup-first-blocks" : 60,
    "mining-diversity" : 0.30000000,
    "admin-consensus-admin" : 0.50000000,
    "admin-consensus-mine" : 0.50000000,
    "mining-requires-peers" : true,
    "first-block-reward" : -1,
    "initial-block-reward" : 50000000,
    "reward-halving-interval" : 210000,
    "reward-spendable-delay" : 1,
    "minimum-per-output" : -1,
    "maximum-per-output" : 21000000000000,
    "minimum-relay-fee" : 1000,
    "native-currency-multiple" : 1000000,
    "skip-pow-check" : false,
    "pow-minimum-bits" : 16,
    "target-adjust-freq" : 86400,
    "allow-min-difficulty-blocks" : false,
    "only-accept-std-txs" : true,
    "max-std-tx-size" : 100000,
    "max-std-op-return-size" : 4096,
    "max-std-op-drops-count" : 5,
    "max-std-op-drop-size" : 64,
    "chain-name" : "pipcointest",
    "protocol-version" : 10002,
    "network-message-start" : "f0d9c0e8",
    "address-pubkeyhash-version" : "00a80c0f",
    "address-scripthash-version" : "05c726fa",
    "private-key-version" : "80e01649",
    "address-checksum-value" : "237bfee2",
    "genesis-pubkey" : "0340b0e9c8b84aa4f296d5e006732621d3b101bd25eab7d93b105ae70a916987ab",
    "genesis-version" : 1,
    "genesis-timestamp" : 1450463614,
    "genesis-nbits" : 520159231,
    "genesis-nonce" : 17290,
    "genesis-pubkey-hash" : "6a73c1351db0ca5ad6248ad47558160a2c6bef93",
    "genesis-op-return-script" : "5b6e6f74207365745d",
    "genesis-hash" : "0000e465f37f870e59a5a6f57f78b24fc4a069f0b2e3fba064fda56e0c1b0ce5",
    "chain-params-hash" : "9bc5a8d148936a65378b618bed1463f02f79a1e86bbadb2980137f56b30025a3"
}
OK, so it is just a straightforward fee, to be collected back by the miner (unless mining has frozen up because you reached the end of the setup period and there is no other node it is connected to - see the mining-requires-peers parameter).
Yes that's what I am telling you. It was the only miner, I revoked mining permission and the fee just disappeared into nothing.Of course in practice I guess that wouldn't happen too often.
Yes, you need someone mining the chain for transactions to be confirmed, and they will collect the fee.
...