Create permissions - are there different types for streams?

+2 votes

Hi

I have a network with 5 nodes. I query the permissions of my "node 5" and it has 'create' permission.

https://paste.pics/c143fb5a46f06df9c7ad116cd42ef464

I try to create a stream on node 5 but receive an error that it does not have create permission on the wallet.

https://paste.pics/8879f7827b73498b5adfec6a4519d598

There is only 1 wallet on this node.

https://paste.pics/a3eecbaa9b17d677f365e9ba0838de72

The seed / first node then grants create permission to node 5 (even though it already seemed to have it):

https://paste.pics/a6ae4e81b5ac23382d970c5ede9cdded

Now, I can create a stream on node 5 successfully:

https://paste.pics/57T7U

I do not understand what is happening here. Why did node 1 need to grant create permission to node 5, if node 5 already seemed to have it?

This happened with all the other nodes as well.

asked Apr 4, 2019 by Zaid

1 Answer

+2 votes

The address shown in the first screeenshot which has create permissions doesn't match the address shown in the third screenshot, which lists the node's addresses, so this seems to be behaving as expected?

answered Apr 4, 2019 by MultiChain
Thanks. I just re-ran the test.
Screenshot: https://paste.pics/57VU0

When I list permissions for the node I get one address, but when I list addresses for the node I get another address.
Are there 2 types of address per node?
That first address with create permission does not reflect under "listaddresses"
I think this explains the misunderstanding. The listpermissions command tells you about permissions for all addresses on the blockchain, not just those in this node's wallet. But listaddresses only shows you addresses in the node's wallet.
Got it!
Thanks for clarifying.
...