Added value balance consensus enforcement for pours.

This commit is contained in:
Sean Bowe
2016-01-04 06:02:01 -07:00
parent 45d6bee945
commit f512cf7c7b
4 changed files with 34 additions and 0 deletions

View File

@@ -346,6 +346,9 @@ public:
// GetValueIn() is a method on CCoinsViewCache, because
// inputs must be known to compute value in.
// Return sum of pour vpub_new
CAmount GetPourValueIn() const;
// Compute priority, given priority of inputs and (optionally) tx size
double ComputePriority(double dPriorityInputs, unsigned int nTxSize=0) const;