com.google.bitcoin.core
Class PrunedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.bitcoin.core.PrunedException
- All Implemented Interfaces:
- Serializable
public class PrunedException
- extends Exception
PrunedException is thrown in cases where a fully verifying node has deleted (pruned) old block data that turned
out to be necessary for handling a re-org. Normally this should never happen unless you're playing with the testnet
as the pruning parameters should be set very conservatively, such that an absolutely enormous re-org would be
required to trigger it.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PrunedException
public PrunedException(Sha256Hash hash)
getHash
public Sha256Hash getHash()
Copyright © 2014. All rights reserved.