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
Node shuts down when publishing off-chain data to stream from web-demo
When does a stream item become available to the node
How to delete an item or key from a stream?
Publish Off-Chain Item with On-Chain "notes"
Is it possible to read stream_x content from a smart filter?
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
Does revoking read permission on off-chain stream item delete the off-chain content from the node?
+1
vote
asked
Jan 9, 2022
by
anonymous
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
No, it does not, but it prevents any additional items (whether new or old) being retrieved by the node. We don't delete it because this would be fake security – the end-user application could already have copied the data elsewhere.
answered
Jan 9, 2022
by
MultiChain
Actually I am thinking along the line of off-chain records archival and how to free up of long term storage space if records are no longer relevant for audit. To remove the unused off-chain records, is it just a matter of deleting the file directly from the off-chain folder?
In MultiChain Enterprise, you can use this command to purge all of the items retrieved from a stream without unsubscribing: purgestreamitems <stream> all
In either edition, you can use the unsubscribe command with purge=true
Note that if you fully unsubscribe, then resubscribing will require a blockchain rescan which can be slow.
I get it now. Thanks for the answers. It seems like one really need to deep dive and think through the specifics in order to appreciate the features in the enterprise version.
No problem, glad that's solved.
Please
log in
or
register
to add a comment.
...