So basically I have a node who has valid permissions but is getting an error saying they have invalid permissions.
So first I created a new node like this:
multichaind myChainName@12.345.678.910:8080 -daemon
I then got this message:
Please ask blockchain admin or user having activate permission to let you connect and/or transact:
multichain-cli myChainName grant MyNewNodeAddress connect
multichain-cli myChainName grant MyNewNodeAddress connect,send,receive
I then granted connect,send,receive,create,admin permissions to the new node
then I ran:
multichaind myChainName@12.345.678.910:8080 -daemon
again and it connected
But now this node cannot read any data on the blockchain or write any data
multichain-cli myChainName liststreams
returns nothing (I have 5 or 6 streams on the chain)
multichain-cli myChainName create stream newStream true
gives this error:
error code: -704
error message:
This wallet doesn't have keys with create permission
multichain-cli myChainName listPermissions
returns this:
[
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "mine",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "admin",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "activate",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "connect",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "send",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "receive",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "issue",
"startblock" : 0,
"endblock" : 4294967295
},
{
"address" : "MyAdminNodeAddress",
"for" : null,
"type" : "create",
"startblock" : 0,
"endblock" : 4294967295
}
]
Am I missing a step here or should that node be able to read and create streams?