git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Limit duplicity on stake & Process orphans only if there are some.
[NovacoinLibrary.git]
/
Novacoin
/
CBlock.cs
diff --git
a/Novacoin/CBlock.cs
b/Novacoin/CBlock.cs
index
fba1387
..
b616fa5
100644
(file)
--- a/
Novacoin/CBlock.cs
+++ b/
Novacoin/CBlock.cs
@@
-594,6
+594,12
@@
namespace Novacoin
return nSubsidy;
}
- }
+
+ public Tuple<COutPoint, uint> ProofOfStake
+ {
+ get { return IsProofOfStake ? new Tuple<COutPoint, uint>(vtx[1].vin[0].prevout, vtx[1].nTime) : new Tuple<COutPoint, uint>(new COutPoint(), 0); }
+ }
+
+}
}