Hello multichain developers.
I've set anyone-can-create=false in my params.dat. And i have two nodes.(A, B)
Node A is admin node, and node B is not having any permissions.
On the node B,
---------------------------------------------------------------------------------------------------------------------
test: getaddresses true
{"method":"getaddresses","params":[true],"id":1,"chain_name":"test"}
[
{
"address" : "HR5gHMdbVqwFs87V2iPQiB1FW7vrt2zpAq",
"ismine" : true,
"iswatchonly" : false,
"isscript" : false,
"pubkey" : "03d0a37e09f8972c2f303bef77881cbc6a8786ff684cff72077e2fd10186f126ea",
"iscompressed" : true,
"account" : "",
"synchronized" : true
}
]
test: listpermissions * HR5gHMdbVqwFs87V2iPQiB1FW7vrt2zpAq
{"method":"listpermissions","params":["*","HR5gHMdbVqwFs87V2iPQiB1FW7vrt2zpAq"],"id":1,"chain_name":"test"}
[
]
test: create stream newstream false
{"method":"create","params":["stream","newstream",false],"id":1,"chain_name":"test"}
41f6b1f9717173164165386688e83064ab87c53816532beda1ee7e719bb63685
===============================================================
On the node A,
-------------------------------------------------------------------------------------------------------
test: liststreams
{"method":"liststreams","params":[],"id":1,"chain_name":"test"}
[
{
"name" : "root",
"createtxid" : "8c770b97f240f43b1c162dbc61ac50fe915ac8cd09d70a16b370ff5f6f0435e5",
"streamref" : "0-0-0",
"open" : false,
"details" : {
},
"subscribed" : true,
"synchronized" : true,
"items" : 0,
"confirmed" : 0,
"keys" : 0,
"publishers" : 0
},
{
"name" : "test",
"createtxid" : "4a3bad189d3d21e98c2bf009dd39a8763a6e956c13098ec0c8885a3a7146ed81",
"streamref" : "1081-300-15178",
"open" : false,
"details" : {
},
"subscribed" : false
},
{
"name" : "newstream",
"createtxid" : "41f6b1f9717173164165386688e83064ab87c53816532beda1ee7e719bb63685",
"streamref" : "7341-300-63041",
"open" : false,
"details" : {
},
"subscribed" : false
}
]
==================================================================
I don't want anyone to create streams.
Did i set the wrong parameters?
# Global permissions
anyone-can-connect = true
anyone-can-send = true
anyone-can-receive = true
anyone-can-receive-empty = true
anyone-can-create = false
anyone-can-issue = false
anyone-can-mine = false
anyone-can-activate = false
anyone-can-admin = false
support-miner-precheck = true
allow-arbitrary-outputs = false
allow-p2sh-outputs = true
allow-multisig-outputs = true
Please provide feedback.
Thank you.