Update remove_ledger.py to protect against removing a ledger that has been used.
If a ledger has been used (it contains transactions) it's history is critical to the historical integrity if the network, even if the ledger has been frozen. Without the historical data for a given ledger the ability to audit the history of the ledger to prove that there was no tampering is not possible. Therefore it is important to protect such ledgers from being deleted.
Refer to the Drawbacks section of the 0162-frozen-ledgers HIPE in https://github.com/hyperledger/indy-hipe/pull/162/.
Update remove_ledger.py to protect against removing a ledger that has been used.
If a ledger has been used (it contains transactions) it's history is critical to the historical integrity if the network, even if the ledger has been frozen. Without the historical data for a given ledger the ability to
audit the history of the ledger to prove that there was no tamperingis not possible. Therefore it is important to protect such ledgers from being deleted.Refer to the Drawbacks section of the
0162-frozen-ledgersHIPE in https://github.com/hyperledger/indy-hipe/pull/162/.