Saves the given block header+extra data. The key isn't specified explicitly as it can be calculated from the StoredBlock directly. Can throw if there is a problem with the underlying storage layer such as running out of disk space.
(StoredBlock block)
| 37 | * disk space. |
| 38 | */ |
| 39 | void put(StoredBlock block) throws BlockStoreException; |
| 40 | |
| 41 | /** |
| 42 | * Returns the StoredBlock given a hash. The returned values block.getHash() method will be equal to the |
no outgoing calls