Elichai Turkel
a581dea127
Remove unused utils and structures ( #1526 )
...
* Remove unused utils
* Remove unneeded randomness from tests
* Remove more unused functions
* Remove unused protobuf structures
* Fix small errors
2021-02-14 18:13:20 +02:00
Svarog
80c445c78b
[NOD-1551] Optimize binary writes + remove redundant VarInt code ( #1163 )
...
* [NOD-1551] Optimize binary writes + remove redundant VarInt code
* [NOD-1551] Remove varInt tests
* [NOD-1551] Fix TestBech32 for Go1.15
2020-11-30 13:45:06 +02:00
Ori Newman
d3b1953deb
[NOD-848] optimize utxo diffs serialize allocations ( #666 )
...
* [NOD-848] Optimize allocations when serializing UTXO diffs
* [NOD-848] Use same UTXO serialization everywhere, and use compression as well
* [NOD-848] Fix usage of wrong buffer
* [NOD-848] Fix tests
* [NOD-848] Fix wire tests
* [NOD-848] Fix tests
* [NOD-848] Remove VLQ
* [NOD-848] Fix comments
* [NOD-848] Add varint for big endian encoding
* [NOD-848] In TestVarIntWire, assume the expected decoded value is the same as the serialization input
* [NOD-848] Serialize outpoint index with big endian varint
* [NOD-848] Remove p2pk from compression support
* [NOD-848] Fix comments
* [NOD-848] Remove p2pk from decompression support
* [NOD-848] Make entry compression optional
* [NOD-848] Fix tests
* [NOD-848] Fix comments and var names
* [NOD-848] Remove UTXO compression
* [NOD-848] Fix tests
* [NOD-848] Remove big endian varint
* [NOD-848] Fix comments
* [NOD-848] Rename ReadVarIntLittleEndian->ReadVarInt and fix WriteVarInt comment
* [NOD-848] Add outpointIndexByteOrder variable
* [NOD-848] Remove redundant comment
* [NOD-848] Fix outpointMaxSerializeSize to the correct value
* [NOD-848] Move subBuffer to utils
2020-03-24 16:44:41 +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
c9ef176f4c
[NOD-35] Refactor fmt.Sprintf to always have the template argument as string literal
...
* [NOD-35] Refactor fmt.Sprintf to always have the template argument as string literal
* [NOD-35] Remove redundant fmt.Sprintf's
2019-03-12 18:12:24 +02:00
Ori Newman
1da045d1b9
[NOD-30] move wire.RandomUint64() and binarySerializer to util ( #204 )
...
* [NOD-30] move wire.RandomUint64() and binarySerializer to util
* [NOD-30] change const style
2019-03-12 13:03:08 +02:00