Duke Leto
7764d05261
.
2021-07-12 01:49:04 -04:00
Duke Leto
4a536d62dc
Update copyrights
2021-04-17 13:03:22 -04:00
Duke Leto
cf57365698
Deletions and cleanups
2021-01-26 08:56:08 -05:00
Duke Leto
0a99c80150
Optimize mempool by removing unnecessary sprout checks
2021-01-23 22:51:57 -05:00
Duke Leto
c2eec1f7a7
Remove Komodo interest code and various other improvements
2020-12-15 13:14:54 -05:00
Duke Leto
b58c15b9fb
update copyrights
2020-12-10 07:45:36 -05:00
Duke Leto
c737c0dfaf
We call them Hush Smart Chains around here
2020-11-15 11:54:06 -05:00
Duke Leto
be16f80abc
Hush Full Node is now GPLv3
...
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/
Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
2020-10-21 07:28:10 -04:00
Duke Leto
a7f88a87aa
Update copyright URL to be https
2020-09-20 13:17:38 -04:00
Duke Leto
dd95b1471c
desprout
2020-06-06 14:48:16 -04:00
DeckerSU
c7d96194d6
[test] proper removing of txes that violates interest validation from mempool
...
In CreateNewBlock of miner https://github.com/KomodoPlatform/komodo/blob/master/src/miner.cpp#L331
we have a condition that prevents miners to include certain txes in
block if tx violates komodo_validate_interest check. so, if such txes
will exist in mempool and in some reason they was not miner earlier, if
they have nExpiryHeight = 0 - they NEVER will be included in block by miners.
Also, code in CTxMemPool::removeExpired that should remove such txes
from mempool didn't do it due to mistake. As a result these txes
stucks in mempool. No one can mine it, bcz no one can include it in block,
and no one get success to remove it from mempool.
Look on old code:
```
(ASSETCHAINS_SYMBOL[0] == 0
&& tipindex != 0 && komodo_validate_interest(...) ) < 0
```
But should be:
```
(ASSETCHAINS_SYMBOL[0] == 0
&& tipindex != 0 && komodo_validate_interest(...) < 0 )
```
Bcz we should compare with 0 result of komodo_validate_interest, but we
had different behaviour, due to typo.
2020-05-21 21:54:28 -04:00
DenioD
f3a4f77368
port expired transaction notify from Zcash. Issue #110
2020-05-19 10:03:53 +02:00
Duke Leto
a2b3316664
Port PR93 from @denioD
2020-03-07 13:55:12 -05:00
Duke Leto
cc3e1c11d7
Use global mempool nullifier count, not local wallet nullifier count
2020-01-02 10:56:14 -05:00
Duke Leto
3e92f28463
Fix compile warning/bug
2019-12-30 12:04:51 -05:00
Duke Leto
83c7586e40
Merge branch 'dev' into sietch
...
Conflicts:
src/coins.cpp
2019-12-28 17:39:47 -05:00
Duke Leto
ae07622c65
Copyright
2019-12-28 09:43:24 -05:00
Duke Leto
5b29c7cd71
wip
2019-11-05 06:54:42 -05:00
ca333
6b79766999
Merge pull request #205 from KomodoPlatform/fix_PING
...
fix PING/REJECT attack [CVE-2019-17048, CVE-2019-16930]
2019-10-06 00:38:09 +02:00
ca333
85aad4be5d
fix PING attack [CVE-2019-17048]
2019-10-02 21:53:47 +02:00
Mihailo Milenkovic
1f013df156
Initial PegsCC implementation ( #27 )
2019-07-04 11:23:55 +02:00
blackjok3r
8bb5f9abd5
fix address type
2019-04-12 17:35:40 +08:00
jl777
0ea9ae3c05
Update copyright to 2019
2018-12-31 21:41:05 -11:00
miketout
c38ce00f9c
Fixed address, unspent, and timestamp indexing
2018-11-21 23:33:51 -08:00
miketout
0a962eb958
remove sign from time lock check
2018-10-03 19:59:48 -07:00
miketout
4b729ec577
Changes for most chain power rule
2018-09-28 01:38:14 -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
Eirik Ogilvie-Wigley
4fc309f0f5
Rename Merkle Trees to include sprout or sapling
2018-08-01 10:31:09 -06:00
jl777
7f190223f5
Support IsPayToCryptoCondition for -addressindex
2018-07-21 05:19:57 -11:00
jl777
8613127572
LastTip() and tweak deprecation heights
2018-07-15 22:47:16 -11:00
jl777
dc276bd087
Map address type 3 -> 1
2018-06-26 06:18:12 -11:00
jl777
fa7bf712a1
Add support for pay2pubkey for -addressindex
2018-06-26 04:40:32 -11:00
jl777
ba31c2f4b4
Fix pay to pubkey for -addressindex
2018-06-26 03:04:06 -11:00
Scott Sadler
81389fc7b4
merge dev; tests broken, need to use wallet for block rewards
2018-05-29 19:04:47 -03:00
miketout
32d8c6d015
Merge latest from Komodo, including POS
2018-05-08 17:57:03 -07:00
Sean Bowe
8c57bbac15
Fix broken error messages.
2018-05-07 14:37:46 -06:00
Sean Bowe
98d2f090ca
Evict transactions with obsolete anchors from the mempool
2018-05-07 14:37:46 -06:00
Sean Bowe
b4ff707605
Add support for Sapling anchor checks in mempool consistency checks.
2018-05-07 14:37:46 -06:00
Sean Bowe
27616b9a04
Add support for Sapling anchors in coins/txdb.
2018-05-07 14:37:46 -06:00
Sean Bowe
008f4ee8e7
Rename GetAnchorAt to GetSproutAnchorAt.
2018-05-07 13:46:06 -06:00
Sean Bowe
28d20bdb11
Rename NullifierType to ShieldedType.
2018-05-07 13:46:06 -06:00
jl777
f839d3f52e
Fix
2018-05-07 13:07:44 +03:00
jl777
38215324fe
Skip interest check for AC
2018-05-06 20:08:56 +03: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
1f9dfbb9f0
Fix -Wstring-plus-int warning on clang
2018-05-01 14:55:47 +01:00
Scott Sadler
0cb91a8d20
wip
2018-04-29 00:34:57 -03:00
jl777
16ec83024f
-print
2018-04-25 21:50:20 +03:00
Eirik Ogilvie-Wigley
9669920f75
Rename nullifier caches and maps to indicate sprout nullifiers
2018-04-25 11:26:38 -06:00
Eirik Ogilvie-Wigley
cab341e1a8
Add sapling nullifiers to db and mempool
2018-04-24 17:16:43 -06:00