Michael Toutonghi
17d0160a17
Cleanup nonce changes
2018-07-20 19:57:46 -07:00
Michael Toutonghi
c5325a3256
PoS improvements
2018-07-18 17:42:15 -07:00
Wladimir J. van der Laan
a9496b08b6
rpc: Register calls where they are defined
...
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.
- This makes it easier to add or remove RPC commands - no longer everything that includes
rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.
Continues #7307 for the non-wallet.
2018-07-18 11:07:18 -06:00
Daniel Cousens
4519a766b6
move rpc* to rpc/
2018-07-18 11:07:16 -06:00
Jonas Schnelli
34aca1b03c
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
...
Allow extending the rpc dispatch table by appending commands when server is not running.
2018-07-18 11:07:15 -06:00
jl777
2abababa75
Test
2018-07-18 03:06:22 -11:00
Michael Toutonghi
4dcb64c081
Radical hash rate optimization
2018-06-26 07:39:50 -07:00
Michael Toutonghi
5296a85018
Portable VerusHash and CPU check
2018-06-16 14:51:13 -07:00
Michael Toutonghi
3a868069d3
update build file that missed checkin
2018-05-27 20:26:42 -07:00
Scott Sadler
e4f943d86d
cross chain rpc methods
2018-05-18 19:29:33 -03:00
Homu
1942f7a42b
Auto merge of #3242 - str4d:3058-key-encoding-refactor, r=str4d
...
Key encoding refactor
Includes code cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#11372
- Only the first three commits (the fourth commit depends on #2390 )
Part of #3058 .
2018-05-11 12:21:29 -07:00
Homu
08f74ed026
Auto merge of #3240 - str4d:remove-obsolete-binaries, r=str4d
...
Remove obsolete CreateJoinSplit and GenerateParams binaries
2018-05-09 13:50:25 -07:00
Scott Sadler
20c3ac51c2
wip
2018-05-09 16:17:28 -03:00
Pieter Wuille
3d31e09cbb
Split key_io (address/key encodings) off from base58
2018-05-08 21:39:56 +01:00
Pieter Wuille
10e5357e8b
Import Bech32 C++ reference code & tests
...
This includes a reformatted version of the Bech32 reference code
(see https://github.com/sipa/bech32/tree/master/ref/c%2B%2B ), with
extra documentation.
2018-05-04 10:27:11 +01:00
Jack Grigg
11aa594440
Remove obsolete CreateJoinSplit and GenerateParams binaries
2018-05-03 13:18:03 +01:00
miketout
48d800c2c6
Merge all Komodo changes, including proof of stake, crypto conditions, passport, etc.
2018-05-02 03:24:21 -07:00
miketout
2910478b5a
Added LWMA difficulty algorithm for Verus, enabled compiler optimizations for verushash
2018-04-29 23:21:35 -07:00
Scott Sadler
0cb91a8d20
wip
2018-04-29 00:34:57 -03:00
miketout
42181656c2
Implementation of VerusHash CPU-friendly hash algorithm, parameters to enable it, miner, and all changes required to support it on new asset chains
2018-04-27 00:34:50 -07:00
Michael Toutonghi
29bd53a102
Rewrite time locks, coinbase validation, and script functions in C++ for easier integration
2018-04-20 18:38:39 -07:00
Homu
0753a0e8a9
Auto merge of #3180 - str4d:transaction-serialization, r=ebfull
...
Upstream serialization improvements
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#5264
- bitcoin/bitcoin#6914
- bitcoin/bitcoin#6215
- bitcoin/bitcoin#8068
- Only the `COMPACTSIZE` wrapper commit
- bitcoin/bitcoin#8658
- bitcoin/bitcoin#8708
- Only the serializer variadics commit
- bitcoin/bitcoin#9039
- bitcoin/bitcoin#9125
- Only the first two commits (the last two block on other upstream PRs)
Part of #2074 .
2018-04-18 19:08:34 -07:00
Cory Fields
da96e3b71a
build: univalue subdir build fixups
...
- Force a rebuild if the headers change
- Only build the lib target
- Clean univalue on 'make clean'
2018-04-18 00:36:49 +01:00
jl777
7213e636c1
Merge branch 'dev' into jl777
2018-04-17 23:28:32 +03:00
Pieter Wuille
29a8ade782
Prevector type
2018-04-16 07:38:36 -06:00
jl777
4d9b5edbcf
Test
2018-04-16 08:35:52 +03:00
jl777
7b136bcd74
Merge branch 'dev' into devmerge
...
# Conflicts:
# src/init.cpp
# src/komodo_bitcoind.h
# src/komodo_events.h
# src/komodo_notary.h
# src/komodo_structs.h
# src/main.cpp
# src/pow.cpp
# src/rpcblockchain.cpp
2018-04-16 08:28:20 +03:00
ca333
afa02103c9
update Makefile
2018-04-16 07:21:04 +02:00
ca333
5da8e41df2
fix Makefile
2018-04-16 06:48:44 +02:00
jl777
f64557f7e0
Test
2018-04-16 07:19:36 +03:00
Scott Grayson
0c4f43951e
Merge branch 'dev' of https://github.com/jl777/komodo into trunk-merge
...
* 'dev' of https://github.com/jl777/komodo: (1062 commits)
Delay PoW check until connect block
Declare
KOMODO_NEWBLOCKS
Prevent autorewind if syncing. Not a critical update
Change n0/n1 size to int32_t
Syntax
Fix n -> static n0/n1
Test
Test
Test
KOMODO_LONGESTCHAIN = height;
Sync main.cpp to jl777
-print
-USD/EUR
readme
curl fix
-print
Fix buffer overflows and reduce KMD men usage
-print
Test
...
2018-04-15 21:59:37 -04:00
Scott Sadler
8a8e10f02f
cleanups
2018-04-09 11:53:13 -03:00
Scott Sadler
561f3e18c1
tests for bet protocol done; verify notarisation still to test
2018-04-05 05:06:22 -03:00
Homu
77669b952b
Auto merge of #2598 - str4d:2074-dbwrapper, r=str4d
...
Bitcoin 0.12+ dbwrapper improvements
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6650
- Only refactor - excludes obfuscation
- bitcoin/bitcoin#6777
- Excluding obfuscation-related changes
- bitcoin/bitcoin#6865
- bitcoin/bitcoin#6823
- bitcoin/bitcoin#6873
- bitcoin/bitcoin#7927
- Excluding first commit (already included) and second commit (obfuscation-related)
- bitcoin/bitcoin#8467
Part of #2074 .
2018-04-03 14:11:29 -07:00
Jeff Garzik
e3da7a572d
leveldbwrapper file rename to dbwrapper.*
2018-04-03 20:40:54 +01:00
Scott Sadler
4c121ffdb0
cpp test suite for cryptoconditions integration
2018-04-01 21:18:01 -03:00
Scott Sadler
563581aff4
many changes: * fix CC malleability * extra validations for CCs such as requiring a signature and limiting types * different SIGHASH types for CC
2018-03-31 23:20:03 -03:00
Scott Sadler
9ef101bc21
mock up DisputePayout
2018-03-30 17:20:02 -03:00
Scott Sadler
2c8d8268dd
ImportPayout cc eval code and alot of general cc polish. tests to write
2018-03-30 15:46:41 -03:00
Jack Grigg
792c05d8a9
Set PLATFORM flag when compiling libsnark
2018-03-28 18:29:19 +02:00
TheTrunk
8b78a8199e
Bitcore port
2018-03-27 13:34:52 +02:00
Scott Sadler
9e74de25fc
merge jl777/dev; zcash upgrade, CC to fix
2018-03-26 20:07:32 -03:00
Scott Sadler
51aad18733
remove replacementpool
2018-03-26 16:21:33 -03:00
jl777
253b35b2ed
Test
2018-03-25 18:48:39 +03:00
jl777
9000990c30
Merge remote-tracking branch 'zcash/master' into rebase2
...
# Conflicts:
# .travis.yml
# Makefile.am
# README.md
# configure.ac
# depends/Makefile
# depends/builders/darwin.mk
# depends/funcs.mk
# depends/hosts/darwin.mk
# depends/packages/googlemock.mk
# depends/packages/googletest.mk
# depends/packages/libsnark.mk
# depends/packages/libsodium.mk
# depends/packages/packages.mk
# depends/packages/rust.mk
# src/Makefile.am
# src/Makefile.gtest.include
# src/chainparams.cpp
# src/chainparams.h
# src/checkpoints.h
# src/clientversion.h
# src/coins.cpp
# src/consensus/consensus.h
# src/gtest/test_mempool.cpp
# src/httprpc.cpp
# src/init.cpp
# src/komodo-tx.cpp
# src/main.cpp
# src/miner.cpp
# src/policy/fees.cpp
# src/policy/fees.h
# src/rpcmining.cpp
# src/rpcrawtransaction.cpp
# src/rpcserver.cpp
# src/test/policyestimator_tests.cpp
# src/test/rpc_wallet_tests.cpp
# src/test/transaction_tests.cpp
# src/txdb.cpp
# src/txmempool.cpp
# src/wallet/asyncrpcoperation_sendmany.cpp
# src/wallet/rpcwallet.cpp
# src/wallet/wallet.cpp
# src/wallet/wallet.h
# src/zcash/CreateJoinSplit.cpp
# zcutil/build.sh
2018-03-25 18:44:38 +03:00
Jack Grigg
7346f09026
Only set multicore flags if OpenMP is available
2018-03-19 17:32:21 +01:00
Scott Sadler
a8acafb354
test suite for replacementPool
2018-03-12 01:57:35 -03:00
Scott Sadler
2b2c75de29
basic implementation of transaction replacement. requires cleanup and testing
2018-03-08 15:15:01 -03:00
Jack Grigg
c4379e3a22
Add configure flags for enabling ASan/UBSan and TSan
...
Co-authored-by: Robert Seacord <rcseacord@gmail.com >
2018-03-01 16:04:42 +00:00
Jack Grigg
6e9c7629af
Implement z_mergetoaddress for combining UTXOs and notes
...
Closes #2493 .
2018-02-22 13:23:18 +00:00