You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: node/src/store.rs
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,14 @@ use std::{
11
11
use anyhow::Result;
12
12
use bincode::{config,Decode,Encode};
13
13
use jsonrpsee::core::Serialize;
14
+
use protocol::{
15
+
bitcoin::OutPoint,
16
+
constants::{ChainAnchor,ROLLOUT_BATCH_SIZE},
17
+
hasher::{BidKey,KeyHash,OutpointKey,SpaceKey},
18
+
prepare::DataSource,
19
+
Covenant,FullSpaceOut,SpaceOut,
20
+
};
14
21
use serde::Deserialize;
15
-
use protocol::{bitcoin::OutPoint, constants::{ChainAnchor,ROLLOUT_BATCH_SIZE}, hasher::{BidKey,KeyHash,OutpointKey,SpaceKey}, prepare::DataSource,Covenant,FullSpaceOut,SpaceOut};
16
22
use spacedb::{
17
23
db::{Database,SnapshotIterator},
18
24
fs::FileBackend,
@@ -23,7 +29,7 @@ use spacedb::{
23
29
#[derive(Debug,Clone,Serialize,Deserialize)]
24
30
pubstructRolloutEntry{
25
31
pubspace:String,
26
-
pubvalue:u32
32
+
pubvalue:u32,
27
33
}
28
34
29
35
typeSpaceDb = Database<Sha256Hasher>;
@@ -334,7 +340,13 @@ impl LiveSnapshot {
334
340
let outpoint = self.get_space_outpoint(&spacehash)?;
0 commit comments