mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Add types.rs
to git
This commit is contained in:
parent
7d26232b53
commit
012b8b2c90
7
src/types.rs
Normal file
7
src/types.rs
Normal file
@ -0,0 +1,7 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub use bitcoin::blockdata::block::BlockHeader;
|
||||
pub use bitcoin::util::hash::Sha256dHash;
|
||||
|
||||
pub type Bytes = Vec<u8>;
|
||||
pub type HeaderMap = HashMap<Sha256dHash, BlockHeader>;
|
Loading…
Reference in New Issue
Block a user