mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
global: snapshot
This commit is contained in:
@@ -8,6 +8,7 @@ pub const XOR_LEN: usize = 8;
|
||||
pub struct XORBytes([u8; XOR_LEN]);
|
||||
|
||||
impl From<&Path> for XORBytes {
|
||||
#[inline]
|
||||
fn from(value: &Path) -> Self {
|
||||
Self(
|
||||
fs::read(value.join("xor.dat"))
|
||||
|
||||
Reference in New Issue
Block a user