kevacoin
9c4c306499
More defensive checking of value for seed height.
3 years ago
Just Wonder
290612e9db
Fixed lock during block downloading.
4 years ago
Just Wonder
ace637e88c
Added lock debugging for mapBlockSeedHeight.
5 years ago
Just Wonder
98876bf367
Fixed seed height error handling.
5 years ago
Just Wonder
a7dcf93506
Better IBD fix.
...
Fixed randomX computation.
5 years ago
Just Wonder
e55c1ef81e
Fixed Initial Block Download issue with RandomKeva.
5 years ago
Just Wonder
85c262741b
RX/0 now worked.
5 years ago
Just Wonder
c85ed93f3f
Build OK with RandomX.
5 years ago
Just Wonder
ecbc9fec10
WIP: RandomX.
5 years ago
Just Wonder
bb09e64483
Adjusted mainnet genesis block difficulty.
...
Additional check for Cryptonote header consistency with block header.
5 years ago
Jianping Wu
68ffbfc104
Changed block hash calculation, used cryptonote header instead.
6 years ago
Jianping Wu
ddc43217ca
Genesis block also used cn header.
6 years ago
Jianping Wu
70df11c1a7
Fixed unit test blockchain generation.
6 years ago
Jianping Wu
1e55d22ac0
Introduced block legacy mode for regtests.
6 years ago
Jianping Wu
937095dd4d
WIP: started fixing make check. Fixed difficulty computation.
6 years ago
Jianping Wu
d48d05a182
Supported Cryptonight Variant 4.
6 years ago
Jianping Wu
8766247be1
Fixed CN RPC call transfer.
6 years ago
Jianping Wu
3a657f0615
WIP: fixed PoW hash computation.
6 years ago
Jianping Wu
9e442eb109
WIP: fixed block serialization.
6 years ago
Jianping Wu
57ab5c7255
WIP: implemented submitblock.
6 years ago
Jianping Wu
bbb78c76a0
WIP: built with latest cn code.
6 years ago
Jianping Wu
baf31da4a7
WIP: integrated latest cn code.
6 years ago
Jianping Wu
80396a7a0f
WIP: added cn header to block header.
6 years ago
Jianping Wu
348513dda6
Upgraded to Cryptonight V8.
6 years ago
Jianping Wu
29eb41121d
CTransaction, GetValueOut(bool fExcludeKeva)
6 years ago
Jianping Wu
c56fb50b55
WIP: namespace/key
6 years ago
Jianping Wu
7f27245431
Switched to cryptonight PoW.
6 years ago
Jianping Wu
fac4394247
Started working on Cryptonight.
6 years ago
shaolinfry
4b588c670c
Litecoin: Add scrypt N=1024 PoW
7 years ago
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
MeshCollider
1a445343f6
scripted-diff: Replace #include "" with #include <> (ryanofsky)
...
-BEGIN VERIFY SCRIPT-
for f in \
src/*.cpp \
src/*.h \
src/bench/*.cpp \
src/bench/*.h \
src/compat/*.cpp \
src/compat/*.h \
src/consensus/*.cpp \
src/consensus/*.h \
src/crypto/*.cpp \
src/crypto/*.h \
src/crypto/ctaes/*.h \
src/policy/*.cpp \
src/policy/*.h \
src/primitives/*.cpp \
src/primitives/*.h \
src/qt/*.cpp \
src/qt/*.h \
src/qt/test/*.cpp \
src/qt/test/*.h \
src/rpc/*.cpp \
src/rpc/*.h \
src/script/*.cpp \
src/script/*.h \
src/support/*.cpp \
src/support/*.h \
src/support/allocators/*.h \
src/test/*.cpp \
src/test/*.h \
src/wallet/*.cpp \
src/wallet/*.h \
src/wallet/test/*.cpp \
src/wallet/test/*.h \
src/zmq/*.cpp \
src/zmq/*.h
do
base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f
done
-END VERIFY SCRIPT-
7 years ago
practicalswift
64fb0ac016
Declare single-argument (non-converting) constructors "explicit"
...
In order to avoid unintended implicit conversions.
7 years ago
Dag Robole
72f00608d0
Replace traditional for with ranged for in primitives
7 years ago
Gregory Maxwell
3babbcb487
Remove confusing MAX_BLOCK_BASE_SIZE.
...
Some people keep thinking that MAX_BLOCK_BASE_SIZE is a separate
size limit from the weight limit when it fact it is superfluous,
and used in early tests before the witness data has been
validated or just to compute worst case sizes. The size checks
that use it would not behave any differently consensus wise
if they were eliminated completely.
Its correct value is not independently settable but is a function
of the weight limit and weight formula.
This patch just eliminates it and uses the scale factor as
required to compute the worse case constants.
It also moves the weight factor out of primitives into consensus,
which is a more logical place for it.
7 years ago
Jeremy Rubin
37495e0d8d
Reorder C{,Mutable}Transaction for better packing
7 years ago
Pieter Wuille
0aadc11fd8
Avoid dereference-of-casted-pointer
7 years ago
practicalswift
656dbd871a
Perform member initialization in initialization lists where possible
7 years ago
Jorge Timón
330bb5a456
Consensus: Minimal way to move dust out of consensus
8 years ago
Marcos Mayorga
4fbae77929
Improved efficiency in COutPoint constructors
8 years ago
Alex Morcos
359e8a03d1
[cleanup] Remove coin age priority completely.
...
Remove GetPriority and ComputePriority. Remove internal machinery for tracking priority in CTxMemPoolEntry.
8 years ago
Suhas Daftuar
02c57b521a
Optimize GetWitnessHash() for non-segwit transactions
8 years ago
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
8 years ago
Pieter Wuille
91335ba389
Remove unused MakeTransactionRef overloads
8 years ago
BtcDrak
1f0ca1ae1c
Bump default transaction version to 2
8 years ago
Pieter Wuille
f6fb7acda4
Move CTxInWitness inside CTxIn
8 years ago
Pieter Wuille
81e3228fcb
Make CTransaction actually immutable
8 years ago
Pieter Wuille
b4e4ba475a
Introduce convenience type CTransactionRef
8 years ago
Pieter Wuille
1662b437b3
Make CBlock::vtx a vector of shared_ptr<CTransaction>
8 years ago
Pieter Wuille
da60506fc8
Add deserializing constructors to CTransaction and CMutableTransaction
8 years ago
Pieter Wuille
528472111b
Get rid of nType and nVersion
...
Remove the nType and nVersion as parameters to all serialization methods
and functions. There is only one place where it's read and has an impact
(in CAddress), and even there it does not impact any of the recursively
invoked serializers.
Instead, the few places that need nType or nVersion are changed to read
it directly from the stream object, through GetType() and GetVersion()
methods which are added to all stream classes.
8 years ago