File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -611,23 +611,6 @@ impl BlockSource for BitcoindClient {
611611 }
612612}
613613
614- #[ derive( Debug , Clone ) ]
615- pub ( crate ) struct MempoolEntry {
616- /// The transaction id
617- txid : Txid ,
618- /// Local time transaction entered pool in seconds since 1 Jan 1970 GMT
619- time : u64 ,
620- /// Block height when transaction entered pool
621- height : u32 ,
622- }
623-
624- #[ derive( Debug , Clone , Serialize ) ]
625- #[ serde( rename_all = "UPPERCASE" ) ]
626- pub ( crate ) enum FeeRateEstimationMode {
627- Economical ,
628- Conservative ,
629- }
630-
631614pub ( crate ) struct FeeResponse ( pub FeeRate ) ;
632615
633616impl TryInto < FeeResponse > for JsonResponse {
@@ -769,6 +752,23 @@ impl TryInto<GetMempoolEntryResponse> for JsonResponse {
769752 }
770753}
771754
755+ #[ derive( Debug , Clone ) ]
756+ pub ( crate ) struct MempoolEntry {
757+ /// The transaction id
758+ txid : Txid ,
759+ /// Local time transaction entered pool in seconds since 1 Jan 1970 GMT
760+ time : u64 ,
761+ /// Block height when transaction entered pool
762+ height : u32 ,
763+ }
764+
765+ #[ derive( Debug , Clone , Serialize ) ]
766+ #[ serde( rename_all = "UPPERCASE" ) ]
767+ pub ( crate ) enum FeeRateEstimationMode {
768+ Economical ,
769+ Conservative ,
770+ }
771+
772772const MAX_HEADER_CACHE_ENTRIES : usize = 100 ;
773773
774774pub ( crate ) struct BoundedHeaderCache {
You can’t perform that action at this time.
0 commit comments