This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathforest.cpp
111 lines (91 loc) · 1.53 KB
/
forest.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#include <forest.h>
#include <blockproof.h>
#include <int_types.h>
#include <undo.h>
void Forest::Add(const std::vector<LeafTXO> adds)
{
// TODO
}
void Forest::Remove(const std::vector<uint64_t>& dels)
{
// TODO
}
undoBlock Forest::Modify(const std::vector<LeafTXO>& adds, const std::vector<uint64_t> dels)
{
// TODO
return {};
}
Proof Forest::Prove(const uint256& wanted) const
{
// TODO
return {};
}
std::vector<Proof> Forest::ProveMany(const std::vector<uint256>& wanted) const
{
// TODO
return {};
}
bool Forest::Verify(const Proof& p) const
{
// TODO
return false;
}
bool Forest::VerifyMany(const std::vector<Proof>& p) const
{
// TODO
return false;
}
BlockProof Forest::ProveBlock(const std::vector<uint256>& hs) const
{
// TODO
return {};
}
bool Forest::VerifyBlockProof(const BlockProof& bp) const
{
// TODO
return false;
}
void Forest::Undo(const undoBlock& ub) const
{
// TODO
}
void Forest::reMap(uint8_t destHeight)
{
// TODO
}
void Forest::reHash(const std::vector<uint64_t>& dirt)
{
// TODO
}
void Forest::cleanup()
{
// TODO
}
void Forest::sanity() const
{
// TODO
}
void Forest::PosMapSanity() const
{
// TODO
}
std::string Forest::Stats() const
{
// TODO
return {};
}
std::string Forest::ToString() const
{
// TODO
return {};
}
std::vector<uint256> Forest::GetTops() const
{
// TODO
return {};
}
undoBlock Forest::BuildUndoData(uint64_t numadds, const std::vector<uint64_t>& dels) const
{
// TODO
return {};
}