Elichai Turkel
f80908fb4e
[NOD-876] Replace ecc with go-secp256k1 for public keys ( #670 )
...
* Replace ecc with go-secp256k1 in txscript
* Replace ecc with go-secp256k1 in util and cmd
* Replace ecc.Multiset with secp256k1.MultiSet
2020-03-26 17:03:39 +02:00
Ori Newman
d83862f36c
[NOD-855] Save ECMH for block utxo and not diff utxo ( #669 )
...
* [NOD-855] Save ECMH for each block UTXO
* [NOD-855] Remove UpdateExtraNonce method
* [NOD-855] Remove multiset data from UTXO diffs
* [NOD-855] Fix to fetch multiset of selected parent
* [NOD-855] Don't remove coinbase inputs from multiset
* [NOD-855] Create multisetBucketName on startup
* [NOD-855] Remove multiset from UTXO diff tests
* [NOD-855] clear new entries from multisetstore on saveChangesFromBlock
* [NOD-855] Fix tests
* [NOD-855] Use UnacceptedBlueScore when adding current block transactions to multiset
* [NOD-855] Hash utxo before adding it to multiset
* [NOD-855] Pass isCoinbase to NewUTXOEntry
* [NOD-855] Do not use hash when adding entries to multiset
* [NOD-855] When calculating multiset, replace the unaccepted blue score of selected parent transaction with the block blue score
* [NOD-855] Manually add a chained transaction to a block in TestChainedTransactions
* [NOD-855] Change name and comments
* [NOD-855] Use FindAcceptanceData to find a specific block acceptance data
* [NOD-855] Remove redundant copy of txIn.PreviousOutpoint
* [NOD-855] Use fmt.Sprintf when creating internalRPCError
2020-03-26 13:06:12 +02:00
stasatdaglabs
f46dec449d
[NOD-510] Change all references to Bitcoin to Kaspa ( #531 )
...
* [NOD-510] Change coinbase flags to kaspad.
* [NOD-510] Removed superfluous spaces after periods in comments.
* [NOD-510] Rename btcd -> kaspad in the root folder.
* [NOD-510] Rename BtcEncode -> KaspaEncode and BtcDecode -> KaspaDecode.
* [NOD-510] Rename BtcEncode -> KaspaEncode and BtcDecode -> KaspaDecode.
* [NOD-510] Continue renaming btcd -> kaspad.
* [NOD-510] Rename btcjson -> kaspajson.
* [NOD-510] Rename file names inside kaspajson.
* [NOD-510] Rename kaspajson -> jsonrpc.
* [NOD-510] Finish renaming in addrmgr.
* [NOD-510] Rename package btcec to ecc.
* [NOD-510] Finish renaming stuff in blockdag.
* [NOD-510] Rename stuff in cmd.
* [NOD-510] Rename stuff in config.
* [NOD-510] Rename stuff in connmgr.
* [NOD-510] Rename stuff in dagconfig.
* [NOD-510] Rename stuff in database.
* [NOD-510] Rename stuff in docker.
* [NOD-510] Rename stuff in integration.
* [NOD-510] Rename jsonrpc to rpcmodel.
* [NOD-510] Rename stuff in limits.
* [NOD-510] Rename stuff in logger.
* [NOD-510] Rename stuff in mempool.
* [NOD-510] Rename stuff in mining.
* [NOD-510] Rename stuff in netsync.
* [NOD-510] Rename stuff in peer.
* [NOD-510] Rename stuff in release.
* [NOD-510] Rename stuff in rpcclient.
* [NOD-510] Rename stuff in server.
* [NOD-510] Rename stuff in signal.
* [NOD-510] Rename stuff in txscript.
* [NOD-510] Rename stuff in util.
* [NOD-510] Rename stuff in wire.
* [NOD-510] Fix failing tests.
* [NOD-510] Fix merge errors.
* [NOD-510] Fix go vet errors.
* [NOD-510] Remove merged file that's no longer relevant.
* [NOD-510] Add a comment above Op0.
* [NOD-510] Fix some comments referencing Bitcoin Core.
* [NOD-510] Fix some more comments referencing Bitcoin Core.
* [NOD-510] Fix bitcoin -> kaspa.
* [NOD-510] Fix more bitcoin -> kaspa.
* [NOD-510] Fix comments, remove DisconnectBlock in addrindex.
* [NOD-510] Rename KSPD to KASD.
* [NOD-510] Fix comments and user agent.
2019-12-12 15:21:41 +02:00
Svarog
369ec449a8
[NOD-509] Change organization name to kaspanet ( #524 )
...
* [NOD-509] Change organization name to kaspanet
* [NOD-509] Reorganize imports
2019-12-08 17:33:42 +02:00
Svarog
f4c6859e51
[NOD-509] Updated repository and imports to github.com/daglabs/kaspad ( #521 )
2019-12-08 16:28:53 +02:00
Ori Newman
684cf4b5fa
[NOD-406] Don't do ECMH operations on mempool ( #467 )
...
* [NOD-406] Don't do ECMH operations on mempool
* [NOD-406] Change NewUTXODiff(false) to NewUTXODiffWithoutMultiset
* [NOD-406] Rename dClone -> clone
* [NOD-406] Remove redudnant assignment
* [NOD-406] Remove dag.UTXOToECMHCacheLock and make NewBlockTemplate use dag's write lock
* [NOD-406] Add tests to UTXO diffs without multiset
2019-11-14 17:40:05 +02:00
stasatdaglabs
a8f0d7b05b
[NOD-400] Fix ECHM cache crashing on concurrent access. ( #450 )
2019-11-04 17:38:01 +02:00
Ori Newman
40657a83f5
[NOD-344] Cache ECMH ( #445 )
...
* [NOD-134] Change newConnMtx to newConnReqMtx
* [NOD-344] Change ECMH cache size to 4e6
* [NOD-344] Refactor
* [NOD-344] Fix go.mod
2019-11-03 12:29:55 +02:00