Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
Is lock time implemented? If yes, what is the easiest way to create a transaction to use it in multichain?
How to delete an item or key from a stream?
Why do I have problems to create issue from a new node connect althoug I put true in anyone-can-issue?
How do I subscribe to new stream events? Polling the RPC endpoint, push notifications?
How to get notification about new transaction?
4,156
questions
4,369
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
How to lock a Stream from new transaction
+5
votes
I am running Mutlichain with Stream transaction, how can I issue a JSON-RPC API to "block" a stream from receiving new transaction ?
or block peer node from publishing to a particular stream ?
Thank you
block-stream-publish
asked
Aug 28, 2023
by
Moke Kwai Cheong
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Assuming the stream was not created as open to all for writing, you can remove write permissions from the appropriate blockchain address.
answered
Aug 29, 2023
by
MultiChain
What is the JSON-RPC API command to be issued to request another stream peer node/address to unsubscribe from this stream?
Subscribing/unsubscribing is a decision made by each node, so other nodes cannot force this. You could of course set up a stream as a messaging system to make requests to unsubscribe, but this cannot be enforced. (In MultiChain Enterprise there are stream read permissions which do allow enforcement.)
Please
log in
or
register
to add a comment.
...