Bitcoin Block Store Server. Copyright (c) 2013 Alexander Færøy
Authors: Alexander Færøy (ahf@0x90.dk
).
This module contains a gen_server
server for storing and retrieving
Bitcoin block's.
block() = peculium_core_types:block()
hash() = peculium_core_types:hash()
delete/1 | Delete block. |
exists/1 | Check if a given block exists in the store. |
get/1 | Get block. |
put/2 | Insert block. |
start_link/0 | Start Block Store Server. |
delete(Hash::hash()) -> ok
exists(Hash::hash()) -> boolean()
Check if a given block exists in the store.
start_link() -> any()
Start Block Store Server.