mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
.
This commit is contained in:
@@ -41,17 +41,20 @@ public:
|
||||
void save();
|
||||
|
||||
uint32 getCurrentLedgerIndex();
|
||||
//int getCurrentLedgerSeconds();
|
||||
Ledger::pointer getLedger(uint32 index);
|
||||
|
||||
Ledger::pointer getAcceptedLedger(uint32 index){ return(mLedgerHistory.getAcceptedLedger(index)); }
|
||||
Ledger::pointer getLedger(uint256& hash){ return(mLedgerHistory.getLedger(hash)); }
|
||||
|
||||
int64 getAmountHeld(std::string& addr);
|
||||
int64 getAmountHeld(uint160& addr);
|
||||
Ledger::Account* getAccount(uint160& addr){ return(mCurrentLedger->getAccount(addr)); }
|
||||
|
||||
bool addTransaction(TransactionPtr trans);
|
||||
void gotFullLedger(newcoin::FullLedger& ledger);
|
||||
void addFullLedger(newcoin::FullLedger& ledger);
|
||||
|
||||
void nextLedger();
|
||||
void startFinalization();
|
||||
void sendProposal();
|
||||
void endFinalization();
|
||||
void checkLedgerProposal(Peer::pointer peer,newcoin::ProposeLedger& packet);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user