Homu
8ef1d333b5
Auto merge of #2894 - per-gron:dont-export-unless-needed, r=str4d
...
Make some globals static that can be
I wrote this patch as part of making a Bazel build system but it really is independent from that so I'm putting this as a separate PR.
External linkage does not help and just encourages sloppy dependencies (ie using symbols only declared in a cpp file in some other cpp file) and can lead to weird issues when there are name collisions.
2018-05-04 15:05:43 -07:00
miketout
061f1a8ec5
Delete inadvertent binary checkin
2018-05-04 12:10:27 -07:00
SHossain
7ecc07513f
Merge pull request #30 from lukechilds/patch-2
...
Reorder asset chain params for better readability
2018-05-04 18:25:15 +01:00
pbca26
951683812e
Merge pull request #34 from jl777/master
...
Monthly cap on active user reward
2018-05-04 19:16:45 +03:00
Eirik Ogilvie-Wigley
a81b36d267
Add more options when asserting in RPC tests
2018-05-04 09:38:36 -06:00
jl777
8332c4b574
Merge pull request #654 from himu007/patch-6
...
strong rpcuser and pass recommend
2018-05-04 18:37:05 +03:00
SHossain
ac186ce4a8
strong rpcuser and pass recommend
2018-05-04 16:34:08 +01:00
pbca26
78cba21c8b
Merge pull request #33 from jl777/dev
...
monthly cap active user reward
2018-05-04 18:13:05 +03:00
jl777
57023d5b91
Monthly cap on active user reward
2018-05-04 17:45:09 +03:00
jl777
e7f4ace1e5
Monthly cap on active user reward
2018-05-04 17:44:40 +03:00
jl777
1b07e8a13b
Merge pull request #647 from pbca26/master
...
update readme, beefy node conf
2018-05-04 17:41:19 +03:00
jl777
2a1a6c5cb3
Merge pull request #653 from jl777/jl777
...
Monthly cap
2018-05-04 17:41:05 +03:00
jl777
fb38b77469
Monthly cap
2018-05-04 17:39:21 +03:00
Pejvan
295ff63464
Update README.md
...
Added default options to build zcash with as many parallel compilation units as there are cpu cores.
This makes compiling zcash multiple times faster.
2018-05-04 13:54:54 +02:00
Jack Grigg
e1dbec49b7
Add test of Sapling transaction size boundary
2018-05-04 11:17:30 +01:00
Jack Grigg
892ae945f7
Rework z_sendmany z-address recipient limit
...
From Sapling, the z-address recipients could require either JSDescriptions or
OutputDescriptions. Instead of trying to give an exact number in the help text,
rely on transaction size estimation to guide user behaviour.
2018-05-04 11:17:30 +01:00
Jack Grigg
25fee3509a
Rename MAX_TX_SIZE to MAX_TX_SIZE_AFTER_SAPLING
2018-05-04 11:17:30 +01:00
Jack Grigg
ddcee7e13a
Benchmark the largest valid Sapling transaction in validatelargetx
...
11130 inputs results in a transaction between 1992301 and 2003431 bytes.
2018-05-04 11:17:30 +01:00
Jack Grigg
15ec5525e3
Raise 100kB transaction size limit from Sapling activation
...
Closes #2864 .
2018-05-04 11:17:30 +01:00
Jack Grigg
768cd14cf9
Add missing include guard
...
Extracted from bitcoin/bitcoin#12757
- Commit 8fd6af89a0c061d79bb3fd2ba704b61dcc2e9211
2018-05-04 10:37:14 +01:00
Pieter Wuille
488d43dd8f
Convert base58_tests from type/payload to scriptPubKey comparison
2018-05-04 10:27:11 +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
MarcoFalke
57be66d30e
[test] Remove unused code
...
Zcash: left createArgs() as we still have rpc_wallet_tests which uses it.
2018-05-04 10:27:11 +01:00
Homu
d97bfb766b
Auto merge of #3228 - str4d:3058-taddr-encoding-refactor, r=str4d
...
Refactor t-address encoding
Includes code cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#11117
- bitcoin/bitcoin#11259
- Only the second commit (first is for QT code)
- bitcoin/bitcoin#11167
- Only the first commit (the rest are not part of the t-address encoding refactor).
Part of #3058 . Precursor to #3202 .
2018-05-03 18:12:22 -07:00
Homu
2d1a3cf8f5
Auto merge of #3183 - bitcartel:least_authority_issue_d, r=str4d
...
Closes #3182 - Least Authority Issue D
Prevent undefined behaviour when null pointer is passed in as parameter to function
Includes a backport of bitcoin/bitcoin#10250 .
2018-05-03 16:39:10 -07:00
miketout
a582169df0
Merge pull request #4 from jl777/dev
...
Merge jl777's latest changes to PoS
2018-05-03 15:31:29 -07:00
Homu
c7f5d5ce1c
Auto merge of #3227 - str4d:3191-nullifier-macos-fix, r=str4d
...
Fix -Wstring-plus-int warning on clang
2018-05-03 14:36:39 -07:00
jl777
08f17e01d3
Merge pull request #651 from jl777/jl777
...
65 seconds to slow down diff
2018-05-03 16:18:32 +03:00
jl777
be381f22ff
65 seconds to slow down diff
2018-05-03 16:18:00 +03:00
Jack Grigg
11aa594440
Remove obsolete CreateJoinSplit and GenerateParams binaries
2018-05-03 13:18:03 +01:00
Jack Grigg
fa70084c87
Expire Overwinter transactions before the Sapling activation height
2018-05-03 12:27:56 +01:00
jl777
e3a9e5fe72
Merge pull request #650 from jl777/jl777
...
Jl777
2018-05-03 14:21:28 +03:00
jl777
98ec2dc219
Add 1 second to timestamp to reduce diff growth
2018-05-03 14:20:34 +03:00
Jack Grigg
dc889d7f52
Update CreateNewContextualCMutableTransaction to create Sapling transactions
2018-05-03 12:02:51 +01:00
jl777
e7018d1da8
Exemption for TXSCL*
2018-05-03 13:13:47 +03:00
Jack Grigg
daed9ba7cc
Change JSOutPoint constructor to have js argument be uint64_t
...
Closes #3192 .
2018-05-03 10:47:22 +01:00
jl777
e27cff005b
Merge pull request #649 from jl777/jl777
...
Detect new block during wait
2018-05-03 11:00:12 +03:00
jl777
b92a8cd4bf
Block PoS miner, need to cache first timestamp
2018-05-03 09:34:51 +03:00
jl777
9bf6c59e33
PoS mining latency fix
2018-05-03 09:05:00 +03:00
jl777
4cc387ec2c
Detect new block during wait
2018-05-03 08:44:03 +03:00
miketout
90e7502158
Enabled recognition of time locked transactions as watch only or spendable, depending on time
2018-05-02 22:20:03 -07:00
jl777
3c8f919012
Merge pull request #648 from jl777/jl777
...
Miner improvements, required for notaries
2018-05-03 07:25:36 +03:00
jl777
6181f7d5bb
Test
2018-05-03 07:22:41 +03:00
jl777
97e9d76edc
Test
2018-05-03 07:19:10 +03:00
jl777
eb1ba5a0fe
improve miner to reduce out of order timestamps
2018-05-03 07:18:05 +03:00
Pieter Wuille
c8f9c87bf1
Implement {Encode,Decode}Destination without CBitcoinAddress
2018-05-03 01:13:04 +01:00
João Barbosa
6939c994ef
Remove unused GetKeyID and IsScript methods from CBitcoinAddress
2018-05-03 01:13:04 +01:00
Pieter Wuille
56c43a36bf
Move CBitcoinAddress to base58.cpp
2018-05-03 01:13:04 +01:00
Jack Grigg
b6be3e88bb
Use CBitcoinAddress wrappers in Zcash-specific code
2018-05-03 01:13:04 +01:00
Pieter Wuille
07444da1db
Introduce wrappers around CBitcoinAddress
...
This patch removes the need for the intermediary Base58 type
CBitcoinAddress, by providing {Encode,Decode,IsValid}Destination
function that directly operate on the conversion between strings
and CTxDestination.
2018-05-03 01:12:57 +01:00