server: api doc part 4

This commit is contained in:
nym21
2025-10-08 18:42:36 +02:00
parent 114228e8eb
commit 83d74da556
113 changed files with 343 additions and 369 deletions
@@ -1,10 +1,8 @@
use std::path::Path;
use brk_error::Result;
use brk_structs::{
AddressGroups, Bitcoin, ByAmountRange, ByGreatEqualAmount, ByLowerThanAmount, DateIndex,
Dollars, Filtered, Height, Version,
};
use brk_grouper::{AddressGroups, ByAmountRange, ByGreatEqualAmount, ByLowerThanAmount, Filtered};
use brk_structs::{Bitcoin, DateIndex, Dollars, Height, Version};
use brk_traversable::Traversable;
use derive_deref::{Deref, DerefMut};
use vecdb::{AnyIterableVec, Database, Exit, Format};
@@ -1,4 +1,5 @@
use brk_structs::{ByAddressType, Height};
use brk_grouper::ByAddressType;
use brk_structs::Height;
use derive_deref::{Deref, DerefMut};
use vecdb::VecIterator;
@@ -1,5 +1,6 @@
use brk_error::Result;
use brk_structs::{ByAddressType, Height, StoredU64};
use brk_grouper::ByAddressType;
use brk_structs::{Height, StoredU64};
use brk_traversable::Traversable;
use derive_deref::{Deref, DerefMut};
use vecdb::{EagerVec, Exit, GenericStoredVec};
@@ -1,5 +1,6 @@
use brk_error::Result;
use brk_structs::{ByAddressType, StoredU64};
use brk_grouper::ByAddressType;
use brk_structs::StoredU64;
use brk_traversable::Traversable;
use derive_deref::{Deref, DerefMut};
use vecdb::Exit;
@@ -1,6 +1,7 @@
use std::{collections::BTreeMap, mem};
use brk_structs::{ByAddressType, TypeIndex};
use brk_grouper::ByAddressType;
use brk_structs::TypeIndex;
use derive_deref::{Deref, DerefMut};
#[derive(Debug, Deref, DerefMut)]
@@ -1,6 +1,6 @@
use std::mem;
use brk_structs::ByAddressType;
use brk_grouper::ByAddressType;
use derive_deref::{Deref, DerefMut};
#[derive(Debug, Deref, DerefMut)]
+6 -5
View File
@@ -7,13 +7,14 @@ use std::{
};
use brk_error::Result;
use brk_grouper::{ByAddressType, ByAnyAddress, Filtered};
use brk_indexer::Indexer;
use brk_structs::{
AnyAddressDataIndexEnum, AnyAddressIndex, ByAddressType, ByAnyAddress, CheckedSub, DateIndex,
Dollars, EmptyAddressData, EmptyAddressIndex, Filtered, Height, InputIndex, LoadedAddressData,
LoadedAddressIndex, OutputIndex, OutputType, P2AAddressIndex, P2PK33AddressIndex,
P2PK65AddressIndex, P2PKHAddressIndex, P2SHAddressIndex, P2TRAddressIndex, P2WPKHAddressIndex,
P2WSHAddressIndex, Sats, StoredU64, Timestamp, TypeIndex, Version,
AnyAddressDataIndexEnum, AnyAddressIndex, CheckedSub, DateIndex, Dollars, EmptyAddressData,
EmptyAddressIndex, Height, InputIndex, LoadedAddressData, LoadedAddressIndex, OutputIndex,
OutputType, P2AAddressIndex, P2PK33AddressIndex, P2PK65AddressIndex, P2PKHAddressIndex,
P2SHAddressIndex, P2TRAddressIndex, P2WPKHAddressIndex, P2WSHAddressIndex, Sats, StoredU64,
Timestamp, TypeIndex, Version,
};
use brk_traversable::Traversable;
use log::info;
@@ -1,10 +1,12 @@
use std::{collections::BTreeMap, ops::ControlFlow, path::Path};
use brk_error::Result;
use brk_grouper::{
ByAgeRange, ByAmountRange, ByEpoch, ByGreatEqualAmount, ByLowerThanAmount, ByMaxAge, ByMinAge,
BySpendableType, ByTerm, Filter, Filtered, UTXOGroups,
};
use brk_structs::{
Bitcoin, ByAgeRange, ByAmountRange, ByEpoch, ByGreatEqualAmount, ByLowerThanAmount, ByMaxAge,
ByMinAge, BySpendableType, ByTerm, CheckedSub, DateIndex, Dollars, Filter, Filtered,
HalvingEpoch, Height, Timestamp, UTXOGroups, Version,
Bitcoin, CheckedSub, DateIndex, Dollars, HalvingEpoch, Height, Timestamp, Version,
};
use brk_traversable::Traversable;
use derive_deref::{Deref, DerefMut};
+2 -1
View File
@@ -1,6 +1,7 @@
use std::ops::{Add, AddAssign};
use brk_structs::{ByAmountRange, GroupedByType, OutputType, Sats};
use brk_grouper::{ByAmountRange, GroupedByType};
use brk_structs::{OutputType, Sats};
use super::SupplyState;