miketout
ef70c5b2de
Updated miner messages
2018-05-05 07:52:02 -07:00
miketout
e980a26ddd
Enable time locked coin bases to be used as normal coinbase transactions with longer maturity, fix max_money
2018-05-04 16:33:34 -07: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
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
Jack Grigg
fa70084c87
Expire Overwinter transactions before the Sapling activation height
2018-05-03 12:27:56 +01:00
Jack Grigg
daed9ba7cc
Change JSOutPoint constructor to have js argument be uint64_t
...
Closes #3192 .
2018-05-03 10:47:22 +01: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
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
Homu
9e5398686c
Auto merge of #3206 - bitcartel:3194_polymorphic_note_class, r=str4d
...
Update note classes to be polymorphic
Closes #3194 . Lays foundation for introduction of Sapling notes through refactoring and creation of a class hierarchy for Sprout notes. This PR updates some tests, but otherwise is a no-op.
2018-05-02 08:07:35 -07:00
miketout
48d800c2c6
Merge all Komodo changes, including proof of stake, crypto conditions, passport, etc.
2018-05-02 03:24:21 -07:00
Simon
debf6af9f8
Move memo member varible from SproutNotePlaintext to BaseNotePlaintext.
...
Add memo() accessor to BaseNotePlaintext.
2018-04-26 15:05:30 -07:00
Simon
d266f40393
Create class hierarchy for SproutNotePlaintext.
...
BaseNotePlaintext contains member variable for common attribute, value.
2018-04-26 15:05:30 -07:00
Simon
5020a93631
Refactoring: rename NotePlaintext --> SproutNotePlaintext
...
Also renames:
CNotePlaintextEntry --> CSproutNotePlaintextEntry
CUnspentNotePlaintextEntry --> CUnspentSproutNotePlaintextEntry
2018-04-26 15:05:30 -07:00
Simon
5d99e3e92f
Refactoring: SproutNote member variable value moved to BaseNote.
...
All notes have a value, so the member variable has been moved to the
base class, and direct member access has been replaced with a getter.
2018-04-26 15:05:19 -07:00
Simon
b230fe6836
Refactoring: Rename class libzcash::Note to libzcash::SproutNote.
2018-04-25 11:33:24 -07:00
jl777
247428bdb2
Test
2018-04-25 15:47:19 +03:00
jl777
94d3d09da0
Test
2018-04-25 15:37:32 +03:00
Eirik Ogilvie-Wigley
df960a9ba7
Clarify help text of dumpprivkey
2018-04-23 15:14:56 -06:00
MarcoFalke
b37b4b2fa3
[rpcwallet] Don't use floating point
2018-04-23 22:12:53 +01:00
Pedro Branco
181c511cd0
Prevent multiple calls to ExtractDestination
2018-04-23 22:12:53 +01: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
ca333
d3c94f437a
Merge pull request #20 from jl777/dev
...
update dev
2018-04-21 02:35:30 +02:00
ca333
7d2e4b3c77
add darwin conds
...
fix OSX specific datatype error
2018-04-21 01:18:49 +02:00
ca333
73be97e1c4
add darwin cond
...
fix OSX specific bug by statically casting datatype
2018-04-21 00:52:27 +02:00
ca333
aee282db0f
add darwin condition to asyncoperation
...
OSX specific fix
2018-04-21 00:50:06 +02:00
jl777
dd66e3af3a
Test
2018-04-20 13:20:26 +03:00
jl777
8eb43ab4ff
Decrement notes for assetchains, need to test
2018-04-20 00:23:58 +03:00
jl777
7b6d6985a9
Test
2018-04-19 20:33:41 +03:00
jl777
e86c03cf07
-walletprefetch
2018-04-17 16:34:07 +03:00
jl777
cf53fd7c3d
Test
2018-04-17 16:25:27 +03:00
jl777
b7fae74e58
Test
2018-04-17 15:31:35 +03:00
jl777
5f5802ae29
Test
2018-04-17 15:30:23 +03:00
Jack Grigg
68a1a592ca
Remove nType and nVersion from Zcash-specific code
2018-04-17 13:09:47 +01:00
Pieter Wuille
242f1421db
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.
2018-04-17 13:09:28 +01:00
jl777
b8add6a466
Init speedup test
2018-04-17 12:53:59 +03:00
Jack Grigg
a8e5ae92ba
GetSerializeSize changes in Zcash-specific code
2018-04-16 07:38:38 -06:00
Pavel Janík
ead36d85c7
[WIP] Remove unused statement in serialization
...
Zcash: Excludes changes to CBanEntry and CHDChain, which we don't have yet.
2018-04-16 07:38:37 -06:00
Pieter Wuille
29a8ade782
Prevector type
2018-04-16 07:38:36 -06:00
jl777
2a3bc0f1e5
Test
2018-04-11 14:57:42 +03:00
jl777
15da4215d3
Test
2018-04-11 14:56:09 +03:00
jl777
b0e712e72d
Test
2018-04-11 14:52:09 +03:00
jl777
a7fc955463
Test
2018-04-11 05:30:00 +03:00
jl777
b4b84fb273
Merge branch 'dev' into jl777
2018-04-10 14:00:44 +03:00
Brad Miller
98a4f6a656
Implement note locking for z_mergetoaddress
...
Co-authored-by: Eirik Ogilvie-Wigley <eirik@z.cash >
2018-04-10 00:44:39 -07:00
Jack Grigg
67b849d7d4
Fix z_importviewingkey startHeight parameter
...
Closes #2937 .
2018-04-10 00:39:52 -07:00
jl777
e07cf6b5f9
Test
2018-04-10 00:28:51 +03:00