Commit Graph

  • 224fbf19a9 Ignore not found errors from tp.transactionsOrderedByFeeRate.Remove. Mike Zak 2022-03-13 10:51:18 +02:00
  • 84346ae19a some minor fixes msutton 2022-03-13 10:48:00 +02:00
  • a186d70fdd Fix error message referencing wrong function name Mike Zak 2022-03-13 10:26:28 +02:00
  • f6499897fa
    Merge branch 'dev' into fix-ibd-shared-past-search Michael Sutton 2022-03-13 02:39:10 +02:00
  • 49c6b158ca Limit the number of chain negotiation restarts msutton 2022-03-13 02:35:08 +02:00
  • 493e606a5f Fixed minor comments msutton 2022-03-13 02:28:37 +02:00
  • 294824f11d go lint msutton 2022-03-13 02:16:01 +02:00
  • 1d0e28906d Address the boundary case where the pruning point becomes the finality point msutton 2022-03-13 01:46:57 +02:00
  • 6733cffade Merge remote-tracking branch 'origin/dev' into unite-reachability-stores msutton 2022-03-12 23:51:16 +02:00
  • 9ef40793f4 Use next tree ancestor wherever possible and avoid finality point search if the block is too close to pruning point msutton 2022-03-12 23:35:25 +02:00
  • bec32fc415 Merge branch 'fix-suggestedLowHash' into HEAD v0.11.13-rc5-experimental Ori Newman 2022-03-12 15:01:40 +02:00
  • df0e46a6c1 Merge branch 'unite-reachability-stores' into HEAD Ori Newman 2022-03-12 15:01:06 +02:00
  • 61fc92ba89 Merge remote-tracking branch 'origin/dev' into unite-reachability-stores Ori Newman 2022-03-12 15:00:24 +02:00
  • 206cc9fb8d Use ghostdagDataWithoutPrunedBlocks when rebuilding reachability Ori Newman 2022-03-12 14:59:58 +02:00
  • cfc9d5aaa9 Use nil suggestedLowHash if selected parent pruning point is not in the future of the current one Ori Newman 2022-03-12 13:54:07 +02:00
  • 1d9d3092ef Merge remote-tracking branch 'origin/dev' into HEAD v0.11.13-rc4-experimental Ori Newman 2022-03-12 12:40:45 +02:00
  • 99ff217815 Merge branch 'unite-reachability-stores' into HEAD v0.11.13-rc3-experimental Ori Newman 2022-03-12 12:39:41 +02:00
  • c311ee9b0b Use dbTx when deleting reachability stores Ori Newman 2022-03-12 12:39:21 +02:00
  • 7fb2ce9449 Add comment on findTransactionIndex Mike Zak 2022-03-12 12:29:06 +02:00
  • afe25e0fb7 Make findTransactionIndex return wasFound explicitly + fix crash caused by invalid handling of not found transaction Mike Zak 2022-03-12 12:20:34 +02:00
  • 433af5e0fe
    Make findTransactionIndex return wasFound explicitly + fix crash caused by invalid handling of not found transaction (#1971) Svarog 2022-03-12 11:07:10 +02:00
  • 6d46f5510e Merge tag 'patch10' into v0.11.13-rc1 v0.11.13-rc2-experimental Ori Newman 2022-03-11 19:24:36 +02:00
  • 38e5e97b2c Merge branch 'unite-reachability-stores' into v0.11.13-rc1 v0.11.13-rc1-tag v0.11.13-rc1-experimental Ori Newman 2022-03-11 18:02:25 +02:00
  • ad6310de81 Send pruning point and its anticone in batches Ori Newman 2022-03-11 09:03:42 +02:00
  • 0076aea258 Send pruning point and its anticone in batches Ori Newman 2022-03-11 09:03:42 +02:00
  • 5957c9ecdc go fmt msutton 2022-03-11 17:09:04 +02:00
  • 3f51f926bb apply Don't relay blocks in virtual anticone #1970 to v5 msutton 2022-03-11 15:30:16 +02:00
  • 91875da221 Merge remote-tracking branch 'origin/dev' into fix-ibd-shared-past-search msutton 2022-03-11 15:27:54 +02:00
  • fb95156cd1 rename pastdiff -> anticone msutton 2022-03-11 15:27:03 +02:00
  • 047fa30183 apply the traversal limit logic and sort headers msutton 2022-03-11 15:05:26 +02:00
  • 8f68d5c606 addressing simple comments msutton 2022-03-11 14:11:08 +02:00
  • b7be807167
    Don't relay blocks in virtual anticone (#1970) Ori Newman 2022-03-11 13:24:45 +02:00
  • e2a6b8064f
    Merge branch 'dev' into dont-relay-blocks-in-virtual-anticone Ori Newman 2022-03-11 11:32:54 +02:00
  • 63d7dd9f62 missed one err check msutton 2022-03-11 11:26:06 +02:00
  • 48eb577cac remove unused methods msutton 2022-03-11 11:22:29 +02:00
  • a388aefa37 go fmt msutton 2022-03-11 11:18:25 +02:00
  • e5354756f4 Don't relay blocks in virtual anticone Ori Newman 2022-03-11 11:17:57 +02:00
  • e67b3b65b4 implement ibd sync past diff of relay and selected tip msutton 2022-03-11 11:04:28 +02:00
  • 6231eaf231 handle and flow for new request past diff message - logic unimplemented yet msutton 2022-03-11 09:19:09 +02:00
  • ba20ff3d34 wire for new request past diff message msutton 2022-03-11 08:58:53 +02:00
  • e687ceeae7
    Add version to block template (#1967) Ori Newman 2022-03-11 08:56:36 +02:00
  • 7100716aeb protobuf gen for new past diff request message msutton 2022-03-11 08:44:20 +02:00
  • 42959234ed
    Merge branch 'dev' into add-version-to-block-template Ori Newman 2022-03-11 08:34:05 +02:00
  • 04e35321aa
    Bump to v0.11.13 (#1968) Ori Newman 2022-03-11 08:33:53 +02:00
  • e2c94d9ca6 set default version to 5 msutton 2022-03-10 01:51:37 +02:00
  • 81ee340d62 Bump to v0.11.13 Ori Newman 2022-03-11 08:18:31 +02:00
  • 723c9a48ca Add version to block template Ori Newman 2022-03-11 08:13:07 +02:00
  • c684bf04bc address the case where pruning points disagree, now both IBD tests pass msutton 2022-03-10 17:23:11 +02:00
  • 05241bdd72 Merge remote-tracking branch 'origin/dev' into unite-reachability-stores Ori Newman 2022-03-10 09:39:03 +02:00
  • 947d427f40 new ibd shared block algo -- only basic test passing msutton 2022-03-10 03:02:08 +02:00
  • 398b06d844 wire for new ibd chain locator types msutton 2022-03-10 01:53:37 +02:00
  • 0b9abf25f4 protobuf gen for new ibd chain locator msutton 2022-03-10 01:53:02 +02:00
  • 5639e3ab56 set default version to 5 msutton 2022-03-10 01:51:37 +02:00
  • 264334cbfb Add UpdateReindexRoot to RebuildReachability Ori Newman 2022-03-09 23:17:56 +02:00
  • ca32eb6bbf Merge remote-tracking branch 'origin/dev' into patch patch10 msutton 2022-03-09 21:16:48 +02:00
  • 061e65be93
    Fix argument order for IsAncestorOf in boundedMergeBreakingParents (#1966) Ori Newman 2022-03-09 21:11:00 +02:00
  • 6322f7eecf
    Merge branch 'dev' into fix-boundedMergeBreakingParents Ori Newman 2022-03-09 17:29:56 +02:00
  • 558ea68679 Fix argument order for IsAncestorOf in boundedMergeBreakingParents Ori Newman 2022-03-09 17:29:27 +02:00
  • 9df231f810 added relay hash to the log print patch9 msutton 2022-03-08 09:29:00 +02:00
  • 09cebe6960 Perform side-chain check earlier to avoid IBD start msutton 2022-03-08 09:18:24 +02:00
  • 7c327683d3 route capacity workaround (for new syncing nodes) msutton 2022-03-08 09:12:53 +02:00
  • c903a65def a temp patch for fixing IBD issues for all side-chains patch8 msutton 2022-03-08 03:51:06 +02:00
  • 840b2a3353 wip msutton 2022-03-08 03:15:20 +02:00
  • ea0586045d set all internal imports to v5 msutton 2022-03-07 16:37:42 +02:00
  • 685c049a12 yet another checkpoint patch7 msutton 2022-03-07 15:51:59 +02:00
  • 35f86bc98a add p2p v5 which is currently identical to v4 msutton 2022-03-07 15:33:52 +02:00
  • 9b45e803d0 Merge branch 'dev' into patch patch6 msutton 2022-03-07 14:54:57 +02:00
  • cb5e9b55b7 Update checkpoint to yet another side-chain msutton 2022-03-07 14:54:05 +02:00
  • 190e725dd0
    Optimize expected header pruning point (#1962) Ori Newman 2022-03-07 00:16:29 +02:00
  • 20f16cf729 Update checkpoint to new side-chain patch5 msutton 2022-03-06 01:03:44 +02:00
  • 7a4c4e943b Fix tests Ori Newman 2022-03-03 16:02:22 +02:00
  • 17c0711d24 Upgrade script Ori Newman 2022-03-03 15:53:30 +02:00
  • 9887bfa97e Unite all reachability stores Ori Newman 2022-03-01 12:20:05 +02:00
  • 4d3f504b73 Check checkpoint only if highestSharedBlockFound patch4 Ori Newman 2022-03-02 21:17:46 +02:00
  • c6523bb470 Allow multiple transactions inside the create-unsigned-transaction -> sign -> broadcast workflow Mike Zak 2022-03-02 13:23:39 +02:00
  • b5eda33488 remove count patch3 Ori Newman 2022-03-02 13:11:32 +02:00
  • ef1a3c0dce remove debug log patch2 Ori Newman 2022-03-02 13:09:34 +02:00
  • 1cedc720ac patch patch1 Ori Newman 2022-03-02 12:31:14 +02:00
  • bb58db8e6a Add comment Ori Newman 2022-03-01 12:48:53 +02:00
  • 42be9130b3 Don't check nextPruningPointAndCandidateByBlockHash when not needed Ori Newman 2022-02-26 18:48:33 +02:00
  • e4c453cb23 Merge remote-tracking branch 'origin/dev' into kaspwallet-auto-compound-rebase Mike Zak 2022-03-01 11:57:57 +02:00
  • 85acccaf48 calculate split input counts and sizes properly Mike Zak 2022-03-01 11:47:53 +02:00
  • f39bac4fd0 Allow to add multiple utxos to pay fee for mergeTransactions, if needed Mike Zak 2022-02-28 20:26:34 +02:00
  • 608bf6931f Move oneMoreUTXOForMergeTransaction to split_transaction.go Mike Zak 2022-02-28 20:09:08 +02:00
  • 7a09ed25f8 Add comment explaining while originalTransaction has 1 or 2 outputs Mike Zak 2022-02-28 20:06:35 +02:00
  • cb0d618e09 Add comment on why we are increasing inputCountPerSplit Mike Zak 2022-02-28 19:58:35 +02:00
  • 75f71905bf Add a comment to maybeAutoCompoundTransaction Mike Zak 2022-02-28 19:50:18 +02:00
  • 6449b03034
    Ignore transaction invs on IBD (#1960) Ori Newman 2022-02-26 22:20:08 +02:00
  • 224a43f7ed
    Merge branch 'dev' into ignore-tx-invs-on-ibd Ori Newman 2022-02-25 18:55:13 +02:00
  • 8c4b0c6078 Add IsIBDRunning mock to TestHandleRelayedTransactionsNotFound Ori Newman 2022-02-25 18:37:21 +02:00
  • 9f02a24e8b
    Add merge set and IsChainBlock to the RPC (#1961) Ori Newman 2022-02-25 16:22:00 +02:00
  • efc2833ffa
    Merge branch 'dev' into add-mergeset-and-ischainblock-to-rpc Ori Newman 2022-02-25 16:09:29 +02:00
  • 7f92ccae8c Fix BlockInfo.Clone() Ori Newman 2022-02-25 16:08:38 +02:00
  • f837945333 Add merge set and IsChainBlock to the RPC Ori Newman 2022-02-25 15:50:36 +02:00
  • 780ab95fe4 Ignore transaction invs on IBD Ori Newman 2022-02-24 16:16:20 +02:00
  • 9b23bbcdb5
    kaspactl: string slice deser for GetUtxosByAddresses (#1955) Isaac Cook 2022-02-23 16:40:01 -06:00
  • c37e644d0b
    Merge branch 'dev' into master Ori Newman 2022-02-23 17:28:51 +02:00
  • e46af7ce7f
    kaspactl: string slice deser for GetUtxosByAddresses Isaac Cook 2022-02-22 16:12:26 -06:00
  • bbb7323fcb Fix off-by-1 error in splitTrasnaction Mike Zak 2022-02-22 16:08:02 +02:00
  • 761d461c59 Add one more utxo if the total amount is smaller then what we need to send due to fees Mike Zak 2022-02-22 15:06:01 +02:00