Begin the code to allow a node to enter the consensus process even if it's not proposing and

even if it's not validating. This also fixes the bug Arthur reported.
This commit is contained in:
JoelKatz
2012-06-19 16:55:04 -07:00
parent 9f2d363a14
commit 75f85ae519
4 changed files with 39 additions and 16 deletions

View File

@@ -28,6 +28,12 @@ LedgerProposal::LedgerProposal(const NewcoinAddress& naSeed, const uint256& prev
mPeerID = mPublicKey.getNodeID();
}
LedgerProposal::LedgerProposal(const uint256& prevLgr, const uint256& position) :
mPreviousLedger(prevLgr), mCurrentHash(position), mProposeSeq(0)
{
;
}
uint256 LedgerProposal::getSigningHash() const
{
Serializer s(72);