Grant/Revoke Permission on Node: What is happening underneath this scenario?

+2 votes
A Node was given Admin permission

A Node was given the Connect.

(deliberately two different API calls)

The Node connected fine.

While connected,
the Node was revoked of Connect
the Node was revoked of Admin

I can see the node not connected in the MultiChain Demo PHP application, however the Node command
multichaind blockchain -daemon outputs node started as before when the permissions were granted.

My thinking was either the node would be "kicked", or when restarting the node would not be able to connect, but it seems to remember the node and starts correctly. There is no clue at this point in the connection process that it would have insufficient privileges.
asked Jul 20, 2017 by MaSsv

1 Answer

+1 vote
 
Best answer

The node starts up because it already knows about the blockchain, and blockchains are designed to allow each node to run independently. However this node won't be able to connect to any others, so it won't received any updates on new blockchain transactions or blocks. You can use getpeerinfo to see this.

answered Jul 20, 2017 by MultiChain
selected Jul 26, 2017 by MaSsv
...