Unable to grant admin access? 12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj

+2 votes

abcoin: grant "12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj" admin
{"method":"grant","params":["12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj","admin"],"id":1,"chain_name":"acoin"}

bae7da3a64d98bc53559fcf4ede0a027ab0adfbc8d23d6c9940386b6c4e55847
acoin: gettransaction bae7da3a64d98bc53559fcf4ede0a027ab0adfbc8d23d6c9940386b6c4e55847
{"method":"gettransaction","params":["bae7da3a64d98bc53559fcf4ede0a027ab0adfbc8d23d6c9940386b6c4e55847"],"id":1,"chain_name":"abcoin"}

{
    "amount" : 0.00000000,
    "fee" : 0.00000000,
    "confirmations" : 1,
    "blockhash" : "0000c8aa65da4f67ec9edf4be4789b7d1611b9fd3f8079952a0294b46a94b90d",
    "blockindex" : 1,
    "blocktime" : 1480845829,
    "txid" : "bae7da3a64d98bc53559fcf4ede0a027ab0adfbc8d23d6c9940386b6c4e55847",
    "walletconflicts" : [
    ],
    "valid" : true,
    "time" : 1480845829,
    "timereceived" : 1480845829,
    "details" : [
        {
            "account" : "",
            "address" : "12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj",
            "category" : "send",
            "amount" : 0.00000000,
            "vout" : 0,
            "fee" : 0.00000000
        }
    ],
    "hex" : "0100000001ac4e5f48a51b03d16ff80389523e96946270fbc48c445557682b82d49b8d270a010000006b483045022100dc7f38da1e9e636ab60a4f8d769107971b2f872a56eb3f79357336841db28db6022055ffa279fb8c16bffb32fe95837821f6df7bf815a1bca039c8b1ce407eb09fec012102123903527ae65217485cbc77b1c3bd8a483c929eceefb8e9db158a8df017bf3fffffffff0200000000000000002f76a9140bcc63070ecfacbd03ccf186bfe684bd0b978ffc88ac1473706b700010000000000000ffffffff00ea43587500000000000000001976a914d5b22ef12fe8b14a8df9d34a4abf996d058cb9e988ac00000000"
}

 

abcoin: listpermissions admin
{"method":"listpermissions","params":["admin"],"id":1,"chain_name":"abcoin"}

[
    {
        "address" : "1HV9VyfLeTDYWLmM2Psc1WeHQhRNct4tipaQws",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    },
    {
        "address" : "1VtAAW6kYJeyFZaHJtu3n9jtv3WdC7A2P4giCR",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    },
    {
        "address" : "1aK2xARvmXxo3S6mH8STfU3bJ9EQFXFcGXrYrN",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    }
]

 

Note : 

ONLY 1 out of the 3 admin addresses below were online 

is this the problem? the grant command doesn't seem to work.

1HV9VyfLeTDYWLmM2Psc1WeHQhRNct4tipaQws

1VtAAW6kYJeyFZaHJtu3n9jtv3WdC7A2P4giCR

1aK2xARvmXxo3S6mH8STfU3bJ9EQFXFcGXrYrN

asked Dec 4, 2016 by chunhui323
The other admin will need to issue the same command for the address to granted with admin access. I get you. Thank You

grant "12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj" admin

1 Answer

+2 votes
 
Best answer

This will probably be due to admin grants being subject to consensus – see admin-consensus-admin in your blockchain parameters.

You can see admin permission changes which have not yet reached consensus using:

listpermissions admin * true

answered Dec 4, 2016 by MultiChain
selected Dec 4, 2016 by chunhui323
listpermissions admin * true


    {
        "address" : "12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 0,
        "admins" : [
        ],
        "pending" : [
            {
                "startblock" : 0,
                "endblock" : 4294967295,
                "admins" : [
                    "1VtAAW6kYJeyFZaHJtu3n9jtv3WdC7A2P4giCR"
                ],
                "required" : 1
            }
        ]
    },


the Admin 1HV9VyfLeTDYWLmM2Psc1WeHQhRNct4tipaQws or 1aK2xARvmXxo3S6mH8STfU3bJ9EQFXFcGXrYrN will need to start mining and it will "approve" this "grant".

I paused the other admins from mining by "pause mining", I guess that is the problem i am facing, Thank You for taking your time answering my question.
It's not related to mining - the problem is that you need another admin (not 1VtAAW6kYJeyFZaHJtu3n9jtv3WdC7A2P4giCR) to also grant admin permissions to 12bVG9n6C8cwvFXmh6GNn6gQWbXDtW8iHuTMtj, to reach the necessary level of consensus. See the "required" field of the response - that's how many more admins are required.
...