Fix some small bugs in the Ledger code. Add a unit test. (Needs more tests.)

This commit is contained in:
JoelKatz
2011-11-29 16:43:32 -08:00
parent eb2efd5a3c
commit dc8cd59c1d
2 changed files with 36 additions and 3 deletions

View File

@@ -94,6 +94,8 @@ public:
Ledger::pointer closeLedger(uint64 timestamp);
bool isCompatible(boost::shared_ptr<Ledger> other);
bool signLedger(std::vector<unsigned char> &signature, const LocalHanko &hanko, int32 confidence);
static bool unitTest(void);
};
#endif