dimxy
a0fc5d6ae4
Corrected both Cancels, 'B' and TokenTransfer
2019-01-18 01:04:34 +05:00
dimxy
675787d676
Asset contract modified to support the Tokens contract
2019-01-18 01:04:32 +05:00
jl777
0ea9ae3c05
Update copyright to 2019
2018-12-31 21:41:05 -11:00
Michael Toutonghi
60b798c4b7
Update stake cheat spend
2018-10-13 14:23:20 -07:00
miketout
905fe35e50
More work on CoinbaseGuard and validation
2018-10-03 16:26:41 -07:00
miketout
8a727a26a7
Beginning of N@S solution using CoinbaseGuard CC
2018-10-02 19:49:54 -07:00
miketout
9feb4b9e08
Major updates integration from all upstreams
2018-09-18 14:33:53 -07:00
Michael Toutonghi
5034d1c134
Sync with latest Komodo changes
2018-08-06 12:52:22 -07:00
jl777
fa7bf712a1
Add support for pay2pubkey for -addressindex
2018-06-26 04:40:32 -11: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
Scott Sadler
0cb91a8d20
wip
2018-04-29 00:34:57 -03:00
Pieter Wuille
29a8ade782
Prevector type
2018-04-16 07:38:36 -06:00
mruddy
690d38f0f8
Resolve issue bitcoin/bitcoin#3166 .
...
These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts.
This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa.
2018-04-16 07:38:36 -06: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
e625be68a9
allow larger PUSHDATA for CC fulfillment
2018-04-06 02:55:47 -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
TheTrunk
8b78a8199e
Bitcore port
2018-03-27 13:34:52 +02:00
Scott Sadler
a99ca25a5a
cryptocondition transaction is standard too
2018-02-17 02:03:34 -03:00
Scott Sadler
07f83521f7
basic integration of cryptoconditions
2017-10-19 14:08:32 -07:00
Pieter Wuille
6fc5764eda
Treat overly long scriptPubKeys as unspendable
2016-10-20 22:59:50 -07:00
Pieter Wuille
4c6ea562bd
Introduce constant for maximum CScript length
2016-10-20 22:59:50 -07:00
Daira Hopwood
05e2db116d
Remove FindAndDelete. refs #1386
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2016-09-27 00:48:30 +01:00
Peter Todd
4fa7a048d1
Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65)
...
<nLockTime> CHECKLOCKTIMEVERIFY -> <nLockTime>
Fails if tx.nLockTime < nLockTime, allowing the funds in a txout to be
locked until some block height or block time in the future is reached.
Only the logic and unittests are implemented; this commit does not have
any actual soft-fork logic in it.
Thanks to Pieter Wuille for rebase.
Credit goes to Gregory Maxwell for the suggestion of comparing the
argument against the transaction nLockTime rather than the current
time/blockheight directly.
Rebased-From: bc60b2b4b401f0adff5b8b9678903ff8feb5867b
2015-10-08 17:46:55 +02:00
Peter Todd
6ec08db338
Move LOCKTIME_THRESHOLD to src/script/script.h
...
Will now be needed by CHECKLOCKTIMEVERIFY code.
Rebased-From: 48e9c57cf06352f890eac4285ae022d8746cf3fd
2015-10-08 17:46:55 +02:00
Peter Todd
684636ba67
Make CScriptNum() take nMaxNumSize as an argument
...
While the existing numeric opcodes are all limited to 4-byte bignum
arguments, new opcodes will need different limits.
Rebased-From: 99088d60d8a7747c6d1a7fd5d8cd388be1b3e138
2015-10-08 17:46:55 +02:00
Philip Kaufmann
5207f33f45
fix header include groups
2015-05-14 01:02:01 -04:00
Wladimir J. van der Laan
4e853aa163
src/script/script.h: endian compatibility for PUSHDATA sizes
2015-03-06 17:21:58 +01:00
Pavel Janík
5262fde0ec
Remove whitespaces before double colon in errors and logs
2015-01-31 17:38:28 -05:00
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19 19:55:32 +01:00
Michael Ford
b9a36b15bf
Make comments in /src/script doxygen compatible
2014-11-10 14:51:55 +08:00
Pavel Janík
84738627ce
Fix all header defines
2014-11-03 16:16:40 +01:00
Peter Todd
6004e77b92
Improve CScriptNum() comment
...
Edited-by: Pieter Wuille <pieter.wuille@gmail.com >
2014-10-25 03:03:20 -07:00
Pieter Wuille
698c6abb25
Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4)
...
Also use the new flag as a standard rule, and replace the IsCanonicalPush
standardness check with it (as it is more complete).
2014-10-25 03:03:20 -07:00
Pieter Wuille
d752ba86c1
Add SCRIPT_VERIFY_SIGPUSHONLY (BIP62 rule 2)
2014-10-25 03:03:16 -07:00
Cory Fields
3a757c5294
fix build with libc++ after 85c579e
2014-10-23 14:24:22 -04:00
Cory Fields
85c579e3a6
script: add a slew of includes all around and drop includes from script.h
...
Lots of files ended up with indirect includes from script.h.
2014-10-17 13:44:57 -04:00
Cory Fields
db8eb54bd7
script: move ToString and ValueString out of the header
2014-10-17 13:44:14 -04:00
Cory Fields
e9ca4280f3
script: add ToByteVector() for converting anything with begin/end
...
This should move to a util header once their dependencies are cleaned up.
2014-10-17 13:44:14 -04:00
Cory Fields
066e2a1403
script: move CScriptID to standard.h and add a ctor for creating them from CScripts
...
This allows for a reversal of the current behavior.
This:
CScript foo;
CScriptID bar(foo.GetID());
Becomes:
CScript foo;
CScriptID bar(foo);
This way, CScript is no longer dependent on CScriptID or Hash();
2014-10-17 13:44:14 -04:00
Wladimir J. van der Laan
4b2b78b9f2
Merge pull request #4969
...
cda45b5 Reinitializing list's begin iterator after few elements were erased from the head (ENikS)
2014-09-25 15:58:56 +02:00
ENikS
1e73504865
Fixing C4146 warning
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com >
2014-09-25 15:24:36 +02:00
ENikS
cda45b5131
Reinitializing list's begin iterator after few elements were erased from the head
2014-09-23 18:33:16 -04:00
ENikS
6134b43ba9
Fixing condition 'sabotaging' MSVC build
2014-09-19 18:29:58 -04:00
Pieter Wuille
0be990ba34
Move CTxDestination from script/script to script/standard
2014-09-16 19:14:32 +02:00
Philip Kaufmann
2d79bba36b
cleanup new script files (no code changes)
...
- add missing header end comments
- ensure alphabetical ordering
- update copyright year and license
2014-09-14 12:25:38 +02:00
jtimon
cbd22a50c4
Move CScript class and dependencies to script/script
2014-09-08 20:19:31 +02:00