Commit Graph

  • 15c8c3acfa [NOD-65] add missing test for verRelayTxFalse Ori Newman 2019-03-19 12:03:29 +02:00
  • 122520b9a5 Nod 42 restructure block acceptance logic (#217) Svarog 2019-03-19 11:21:27 +02:00
  • 3c1d82cc02 [NOD-65] gofmt rpcserver.go Ori Newman 2019-03-19 11:07:26 +02:00
  • bf20cddb04 [NOD-48] Explicitly pass SubnetworkIDNative instead of nil to newMsgTx Mike Zak 2019-03-19 09:41:25 +02:00
  • aa4103303f [NOD-42] Rename MultiblockTxsAcceptanceData -> MultiBlockTxsAcceptanceData Mike Zak 2019-03-19 09:00:10 +02:00
  • c3a45bb1dc [NOD-65] Fix netsync related tests and remove fields optionality from msgversion Ori Newman 2019-03-18 18:41:27 +02:00
  • cc71a3ca1e [NOD-42] Reworded some comments Mike Zak 2019-03-18 17:24:13 +02:00
  • 54ee2ab020 [NOD-42] Removed redundant declaration of feeData Mike Zak 2019-03-18 17:12:16 +02:00
  • 67125d74bf Multiple chain -> dag corrections in comments Mike Zak 2019-03-18 17:09:51 +02:00
  • 773694d118 [NOD-42] Removed finalityErr constant - it's not needed Mike Zak 2019-03-18 17:00:36 +02:00
  • 2751868403 [NOD-48] Made newMsgTx with all parameters private, and added a few public functions that take various arguments for all common use-cases Mike Zak 2019-03-18 16:53:59 +02:00
  • b780bc300f [NOD-60] Implement isSyncCandidate Ori Newman 2019-03-18 15:55:21 +02:00
  • 4f12d4cc0c [NOD-42] Revise some comments Mike Zak 2019-03-18 15:25:12 +02:00
  • 4ea09dcfc9 [NOD-42] Rename: CheckTransactionInputs -> CheckTransactionInputsAndCalculateFee Mike Zak 2019-03-18 11:02:53 +02:00
  • 5e3e952730 [NOD-42] Removed from applyUTXOChanges any validation logic, moved in any logic related to updating the DAG and renamed to applyDAGChanges Mike Zak 2019-03-17 18:14:26 +02:00
  • 81455955cc Merge remote-tracking branch 'origin/master' into nod-42-restructure-block-acceptance-logic Mike Zak 2019-03-17 17:43:10 +02:00
  • a09a7b1271 [NOD-57] Check if a node is synced only by timestamps (#214) Ori Newman 2019-03-17 17:39:02 +02:00
  • 4e0f8ffce8 Nod 53 change getheaders message to handle new block locator (#213) Ori Newman 2019-03-17 16:47:11 +02:00
  • a31c07e8f3 [NOD-59] Rename txEncodingExcludeSubnetworkData (#215) Evgeny Khirin 2019-03-17 16:44:44 +02:00
  • 7c24784df1 [NOD-53] Create a constructor for each heap direction Ori Newman 2019-03-17 16:42:16 +02:00
  • 194431a30c [NOD-48] Remove 'wire.' calls inside wire package Mike Zak 2019-03-17 16:23:48 +02:00
  • 131c4ce9a4 [NOD-48] Update all places the instantiate wire.MsgTx to use wire.NewMsgTx Mike Zak 2019-03-17 15:51:09 +02:00
  • b85389422a [NOD-53] Use heap in locateHeaders Ori Newman 2019-03-17 15:50:36 +02:00
  • 23a1fb0e3a [NOD-48] Calculate payloadHash iff subnetworkID is not native Mike Zak 2019-03-17 14:19:19 +02:00
  • c6f4d8b48a Merge remote-tracking branch 'origin/master' into nod-48-make-newmsgtx-useful Mike Zak 2019-03-17 13:43:04 +02:00
  • 37c3e35b7a [NOD-59] Rename txEncodingExcludeSubnetworkData Evgeny Khirin 2019-03-17 13:39:42 +02:00
  • 0a1c725cef [NOD-48] Fix all compilation errors resulting from modification of wire.NewMsgTx Mike Zak 2019-03-17 12:47:47 +02:00
  • cb1f63f832 [NOD-57] Check if a node is synced only by timestamps Ori Newman 2019-03-17 12:18:47 +02:00
  • ee44eb20de [NOD-49] Exclude payload from transaction hash (#212) Evgeny Khirin 2019-03-17 11:59:44 +02:00
  • a381e8672c [NOD-4] Exit on out of disk space when storing a block (#211) Evgeny Khirin 2019-03-17 11:55:40 +02:00
  • fc60ce3fa8 [NOD-53] Change getheaders message to handle the new block locator mechanism Ori Newman 2019-03-17 11:54:35 +02:00
  • 9a4d918f24 [NOD-49] Exclude payload from transaction hash Evgeny Khirin 2019-03-17 11:51:30 +02:00
  • 763e03ccec [NOD-4] Fixed log message Evgeny Khirin 2019-03-17 11:29:13 +02:00
  • 8bcd898564 [NOD-4] Fixed log message Evgeny Khirin 2019-03-17 11:28:39 +02:00
  • b1e388ca10 [NOD-4] Fixed log message Evgeny Khirin 2019-03-17 11:00:50 +02:00
  • 1f0edf9d4d [NOD-58] Replace lastBlock with selected tip in version message (#210) Ori Newman 2019-03-14 18:15:57 +02:00
  • a89bdca74c [NOD-58] Remove lock from SelectedTipHash Ori Newman 2019-03-14 18:13:44 +02:00
  • b7830db064 [NOD-4] Exit on out of disk space when storing a block Evgeny Khirin 2019-03-14 17:29:11 +02:00
  • ecb0c630f2 [NOD-58] Remove wantStartingHeight from peerStats Ori Newman 2019-03-14 17:26:32 +02:00
  • a4930ef850 [NOD-58] Remove redundant comment Ori Newman 2019-03-14 17:22:47 +02:00
  • a23c2783aa [NOD-58] Add mutex to SelectedTipHash Ori Newman 2019-03-14 16:48:11 +02:00
  • f5c7bb2e5b [NOD-58] Fix typo in comment Ori Newman 2019-03-14 16:36:32 +02:00
  • 8a3150dfec [NOD-58] Replace lastBlock with selected tip in version message Ori Newman 2019-03-14 14:42:49 +02:00
  • 3423fa9f2a [NOD-48] Update wire.NewMsgTx to recieve all fields in msgTx Mike Zak 2019-03-14 14:04:59 +02:00
  • 18f82e129d [NOD-52] Replace lastBlock with block locator in version message Ori Newman 2019-03-13 19:45:30 +02:00
  • 3827cae26f [NOD-42] Split loop that creates UTXODiff and updates acceptance data into 2 separate methods Mike Zak 2019-03-14 12:22:45 +02:00
  • 907ffe7df0 [NOD-42] Give names to outputs in verifyAndBuildUTXO and propagate name changes up the call tree Mike Zak 2019-03-13 18:07:42 +02:00
  • f6141cc8da [NOD-42] Extract methods from PastUTXO Mike Zak 2019-03-13 18:07:00 +02:00
  • 2b09546f8a [NOD-51] Change block locator behaviour for new netsync protocol (#208) Ori Newman 2019-03-13 17:45:30 +02:00
  • 99859e7163 [NOD-51] Update SelectedAncestor comment Ori Newman 2019-03-13 16:57:53 +02:00
  • af7c1d96cb [NOD-51] Change block locator behaviour for new netsync protocol Ori Newman 2019-03-13 16:40:16 +02:00
  • b585e3eea3 [NOD-42] Rename connectToDAG -> addBlock + move anything that is not actually connecting block to DAG out of connectBlock Mike Zak 2019-03-13 14:04:54 +02:00
  • c3fb25ee3e [NOD-42] Split checkFinalityRules and newFinalityPoint Mike Zak 2019-03-13 11:45:53 +02:00
  • 55659022bb [NOD-47] Put dnsseeder package inside btcd package (#207) Ori Newman 2019-03-13 13:15:58 +02:00
  • 859f732323 [NOD-47] Remove .gitignore and run_tests.sh from dnsseeder package Ori Newman 2019-03-12 18:18:26 +02:00
  • c9ef176f4c [NOD-35] Refactor fmt.Sprintf to always have the template argument as string literal Ori Newman 2019-03-12 18:12:24 +02:00
  • 2c8b72f4f8 [NOD-35] Remove redundant fmt.Sprintf's Ori Newman 2019-03-12 18:07:41 +02:00
  • 5194e8fa2c [NOD-47] Put dnsseeder package inside btcd package Ori Newman 2019-03-12 17:59:22 +02:00
  • 2db55f219f [NOD-26] Zero payload for signature hash calculation (#205) Evgeny Khirin 2019-03-12 15:39:20 +02:00
  • 5be6f5c789 [NOD-26] Updated comment Evgeny Khirin 2019-03-12 15:28:33 +02:00
  • 453bb31989 [NOD-26] Zero payload in calcSignatureHash function Evgeny Khirin 2019-03-12 14:31:44 +02:00
  • c780a22282 [NOD-26] Zero payload in shallowCopyTx function Evgeny Khirin 2019-03-12 13:53:21 +02:00
  • 3458690e35 [NOD-35] Refactor fmt.Sprintf to always have the template argument as string literal Ori Newman 2019-03-12 13:19:42 +02:00
  • 1da045d1b9 [NOD-30] move wire.RandomUint64() and binarySerializer to util (#204) Ori Newman 2019-03-12 13:03:08 +02:00
  • 8aac581fda [NOD-30] change const style Ori Newman 2019-03-12 12:02:47 +02:00
  • f1ff4b8592 [NOD-26] Zero payload for signature hash calculation Evgeny Khirin 2019-03-12 11:03:40 +02:00
  • b4f50f4e48 [Nod-25] Add payload hash to wire transaction (#200) Evgeny Khirin 2019-03-12 10:48:57 +02:00
  • 8099b3d28d [NOD-25] Fixed error message Evgeny Khirin 2019-03-12 10:27:00 +02:00
  • ae92cb06ea [NOD-33] remove t.Parallel() from TestCheckErrorCondition because it contains monkey patching Ori Newman 2019-03-12 10:00:23 +02:00
  • 274e0ffd52 [NOD-33] remove redundant line Ori Newman 2019-03-11 17:39:33 +02:00
  • a2f2c03c55 [NOD-30] move wire.RandomUint64() and binarySerializer to util Ori Newman 2019-03-11 17:33:44 +02:00
  • f04e275022 [NOD-25] Removed temporary debug code Evgeny Khirin 2019-03-11 16:39:18 +02:00
  • e28890d243 [NOD-33] remove t.Parallel() from TestCheckErrorCondition because it contains monkey patching Ori Newman 2019-03-11 16:10:21 +02:00
  • 5c37f163d3 [NOD-28] Move subnetwork consts to subnetworkid package (#197) Ori Newman 2019-03-10 12:27:06 +02:00
  • d2169c66c3 Merge branch 'master' into nod-25-add-PayloadHash-to-wire-block Evgeny Khirin 2019-03-11 14:38:45 +02:00
  • 4e6c55b0f4 [NOD-25] Fixed tests Evgeny Khirin 2019-03-11 14:24:15 +02:00
  • 2787a80c4e [NOD-25] Fixed tests crashes Evgeny Khirin 2019-03-11 13:47:20 +02:00
  • aacb2ada43 [NOD-36] Convert util.MaxSatoshi to integer (#199) Ori Newman 2019-03-10 17:38:18 +02:00
  • d62279192a [NOD-27] If node started with new sub-network - require to delete the database before proceeding (#198) Ori Newman 2019-03-10 17:31:53 +02:00
  • 1b7b010a08 [NOD-36] Convert util.MaxSatoshi to integer Ori Newman 2019-03-10 17:08:36 +02:00
  • dc2840e52d Merge remote-tracking branch 'origin/master' into nod-27-resync-if-switching-subnetwork Ori Newman 2019-03-10 15:51:54 +02:00
  • 606d83e704 [NOD-27] If node started with new sub-network - require to delete the database before proceeding Ori Newman 2019-03-10 15:51:36 +02:00
  • 1e447432a7 [NOD-28] Move subnetwork consts to subnetworkid package (#197) Ori Newman 2019-03-10 12:27:06 +02:00
  • 1c78ab4cd2 [NOD-28] change subnetwork id constants to pointers Ori Newman 2019-03-07 17:38:40 +02:00
  • 58ecd09a8e Merge remote-tracking branch 'origin/master' into nod-28-move-subnetwork-consts-to-subnetworkid-package Ori Newman 2019-03-07 16:42:10 +02:00
  • aa46c167c8 [NOD-46] Immediately associate received address to their subnetwork (#196) Ori Newman 2019-03-07 16:33:10 +02:00
  • 225d94abb5 [NOD-46] change order of conditions Ori Newman 2019-03-07 16:29:20 +02:00
  • 1c72ae7a92 [NOD-46] add parenthesis to condition Ori Newman 2019-03-07 16:25:49 +02:00
  • 192a3e4e6a [NOD-46] Disconnect peer if it sends an MsgAddr with incorrect subnetwork id Ori Newman 2019-03-07 16:11:57 +02:00
  • a5e304d3ed
    [NOD-43] Update dockerfile to go1.12 (#195) Svarog 2019-03-07 15:20:29 +02:00
  • cb71d888fd [NOD-46] Disconnect peer if it sends an MsgAddr with no subnetwork Ori Newman 2019-03-07 15:12:38 +02:00
  • 457ff8ab94 [NOD-28] Move SubnetworkID constants to subnetworkid package Ori Newman 2019-03-07 12:20:56 +02:00
  • a57bd47998 [NOD-46] fix comment Ori Newman 2019-03-07 11:50:26 +02:00
  • 25e219a27b [NOD-46] Immediately associate received address to their subnetwork Ori Newman 2019-03-06 16:10:10 +02:00
  • bed8f18439 [NOD-43] Update dockerfile to go1.12 Mike Zak 2019-03-06 14:11:36 +02:00
  • a61a94140e [NOD-43] Update dockerfile to go1.12 Mike Zak 2019-03-06 14:11:36 +02:00
  • 00692a4236 [DEV-363] Refactoring DNS seeder (#192) Evgeny Khirin 2019-03-06 13:24:25 +02:00
  • 58758dbe9f [DEV-363] Fixed comment Evgeny Khirin 2019-03-06 12:31:05 +02:00
  • 4e888bf280 [DEV-363] Refactoring DNS seeder Evgeny Khirin 2019-03-06 12:14:36 +02:00
  • 5e15b8208e [NOD-41] Extract methods under connectBlock (#191) Svarog 2019-03-05 14:17:30 +02:00