Commit Graph

  • c98c39aa5a go fmt msutton 2022-03-31 16:02:39 +03:00
  • 53437f318d Avoid copying the transactions when only the header changed msutton 2022-03-31 15:59:41 +03:00
  • 78c9dcaeda Update header timestamp if possible msutton 2022-03-31 15:31:08 +03:00
  • aaf33ee6b6 Added a through TestModifyBlockTemplate test msutton 2022-03-31 15:13:14 +03:00
  • bbcdad087d Address review comments msutton 2022-03-31 11:00:52 +03:00
  • c739ca345c
    Merge branch 'dev' into block-template-cache Michael Sutton 2022-03-31 10:21:27 +03:00
  • 63c6d7443b
    In blockParentBuilder.BuildParents check if a block is isInFutureOfVi… (#1993) Ori Newman 2022-03-31 02:43:07 +03:00
  • 41da84f226
    Merge branch 'dev' into block-template-cache Michael Sutton 2022-03-31 02:41:27 +03:00
  • 7a46ebb814 Fix compilation error msutton 2022-03-31 02:20:45 +03:00
  • 14294b008c Add comment Ori Newman 2022-03-31 01:37:41 +03:00
  • 8e43acc0cf In blockParentBuilder.BuildParents check if a block is isInFutureOfVirtualGenesisChildren instead of checking if it has reachability data Ori Newman 2022-03-31 01:26:10 +03:00
  • 753f4a2ec1
    Add package name to kaspawalletd .proto file (#1991) Svarog 2022-03-30 20:56:36 +03:00
  • 4cbc74378f
    Merge branch 'dev' into kaspawalletd-add-package Michael Sutton 2022-03-30 20:26:43 +03:00
  • ed667f7e54
    Upgrade to go 1.18 (#1992) Svarog 2022-03-30 20:17:29 +03:00
  • 9a0885db80 Implement a block template cache with template modification/reuse mechanism msutton 2022-03-30 19:55:20 +03:00
  • 2fe418e555 minor text fix msutton 2022-03-30 19:43:04 +03:00
  • cdf72307d2 Fix stability-test shell script Mike Zak 2022-03-30 18:48:06 +03:00
  • 253caab969 Upgrade to go 1.18 Mike Zak 2022-03-30 18:25:57 +03:00
  • 85952c09c4 Add package name to kaspawalletd .proto file Mike Zak 2022-03-30 12:24:41 +03:00
  • c4a034eb43
    Optimize the miner-kaspad flow and latency (#1988) Michael Sutton 2022-03-28 23:41:59 +03:00
  • aa39f5c276 Set up the entire handler/call-chain for managing the new-block-template event msutton 2022-03-28 22:00:43 +03:00
  • c555791343 appmessage and wire for new block template notification structs msutton 2022-03-28 20:10:50 +03:00
  • 1b24514163 protobuf for new block template notification structs msutton 2022-03-28 19:49:54 +03:00
  • 2eca0f0b5f
    Add names to nameless routes (#1986) Aleoami 2022-03-28 09:41:25 +03:00
  • ce1bd9a292
    Merge branch 'dev' into namedRoutes Ori Newman 2022-03-28 08:56:09 +03:00
  • b1d924a7a1 Remove call to StageReachabilityReindexRoot Ori Newman 2022-03-28 00:36:09 +03:00
  • d5c8aec99a
    Update router.go Aleoami 2022-03-27 23:25:53 +03:00
  • 868c7ffd5a Using a subdag instead of passing a DAA window for each block in the PP anticone Ori Newman 2022-03-27 22:11:34 +03:00
  • 58d627e05a
    Unite reachability stores (#1963) Ori Newman 2022-03-27 21:23:03 +03:00
  • ffd86ae59d Merge remote-tracking branch 'origin/dev' into unite-reachability-stores Ori Newman 2022-03-27 20:23:11 +03:00
  • 4ecf9578fc Remove sanity test (it failed when tips where not in the same order) Ori Newman 2022-03-27 20:10:39 +03:00
  • 639183ba0e
    Add support for auto-compound in kaspawallet send (#1951) Svarog 2022-03-27 20:06:55 +03:00
  • 88857c83ff Use createSplitTransaction to calculate the upper bound of mass for split transactions Mike Zak 2022-03-27 13:44:40 +03:00
  • 71743fa0cb Merge remote-tracking branch 'origin/dev' into unite-reachability-stores Ori Newman 2022-03-27 01:19:22 +03:00
  • 11a9848540 Add log for pruning point anticone size pp-anticone-size-logv1 Ori Newman 2022-03-26 14:08:45 +03:00
  • b6fc6a9726 Remove RebuildReachability and use manual syncing between old and new consensus for migration Ori Newman 2022-03-26 12:06:46 +03:00
  • c129fbe5b1 add names to nameless routes VassilyChe 2022-03-23 13:01:25 +03:00
  • 87b195a139 Merge remote-tracking branch 'someone235/unite-reachability-stores' into unite-reachability-stores Ori Newman 2022-03-22 17:40:39 +02:00
  • 92d9a73ea9 Merge remote-tracking branch 'origin/dev' into kaspwallet-auto-compound-rebase Mike Zak 2022-03-21 14:49:32 +02:00
  • 3ffacb0cc9 Add comment for splitAndInputPerSplitCounts Mike Zak 2022-03-21 14:45:36 +02:00
  • 517063eed6 Rename: inputPerSplitCount -> inputsPerSplitCount Mike Zak 2022-03-21 14:37:58 +02:00
  • 73bfb6111e Revert over-refactor of rename of config.Transaction -> config.Transactions Mike Zak 2022-03-21 12:09:02 +02:00
  • ecf6b57b83 Add comment explaining that we assume all inputs are the same Mike Zak 2022-03-21 12:01:29 +02:00
  • 9fa08442cf
    Minor log fixes (#1983) v0.11.14 Michael Sutton 2022-03-21 11:45:52 +02:00
  • 251b2f4766 Minor log fixes msutton 2022-03-21 11:34:04 +02:00
  • 0dd50394ec
    Fix a bug in the new p2p v5 IBD chain negotiation (#1981) v0.11.14-rc1 Michael Sutton 2022-03-20 18:06:55 +02:00
  • 7bdefa54d2 Validate zoom-in progress through a total count msutton 2022-03-20 17:31:42 +02:00
  • 23fb4b3bfe go fmt msutton 2022-03-20 16:24:59 +02:00
  • 846633e072 Improved error explanation msutton 2022-03-20 16:19:27 +02:00
  • 4a1691af6b Add zoom-in progress validation and some debug logs msutton 2022-03-20 15:56:25 +02:00
  • 43696e55a6 Bump version and update the changelog msutton 2022-03-20 12:28:10 +02:00
  • 906f4bfda9 Extract chain negotiation to a separated method msutton 2022-03-20 11:42:10 +02:00
  • aedf9ce7fc Fix a bug in the case where syncer chain is fully known to syncee msutton 2022-03-20 11:40:11 +02:00
  • 1cdc3cabb7 Fix a typo Mike Zak 2022-03-16 17:37:59 +02:00
  • 8cc61872d4 Convert alreadySelectedUTXOs to a map Mike Zak 2022-03-16 17:08:48 +02:00
  • c60c3394cd Rename broadcastConfig.Transaction(File) to Transactions(File) Mike Zak 2022-03-16 16:59:04 +02:00
  • e3bac53eaa Print the number of transaction which was sent, in case there were multiple Mike Zak 2022-03-16 16:53:37 +02:00
  • ac8d4e1341
    Update changelog with v0.11.13 changes (#1980) v0.11.13 Michael Sutton 2022-03-16 10:48:11 +02:00
  • 7dfc2cb573 Update changelog with v0.11.13 changes msutton 2022-03-16 10:45:10 +02:00
  • 2488fbde78
    Apply avoiding IBD patch10 logic to p2p v4 (#1979) Michael Sutton 2022-03-15 19:16:25 +02:00
  • 085c1ccba2 A few comments explaining the IBD patch msutton 2022-03-15 18:13:25 +02:00
  • a99f8b4365 Merge remote-tracking branch 'origin/dev' into v0.11.13-rc msutton 2022-03-15 17:26:00 +02:00
  • 2ab8065142
    Improve output of non-critical protocol errors to avoid user panic (#1978) Michael Sutton 2022-03-15 17:23:29 +02:00
  • c104fc8e91
    Merge branch 'dev' into fix-error-logging Michael Sutton 2022-03-15 15:21:06 +02:00
  • 25410b86ae
    Make sure there are no negative numbers in the progress report (#1977) Michael Sutton 2022-03-15 11:58:15 +02:00
  • 1e173704a5 Found a case where this was falsely triggered due to the wrong equality test msutton 2022-03-15 01:32:46 +02:00
  • b545348e21 Add log messages at the end of IBD with headers proof msutton 2022-03-15 01:08:38 +02:00
  • 666fe115af Improve output of non-critical protocol errors to avoid user panic msutton 2022-03-15 00:39:12 +02:00
  • f74a7aca5d Make sure there are no negative numbers in the progress report msutton 2022-03-14 14:06:54 +02:00
  • 38b211e260 Make sure there are no negative numbers in the report v0.11.13-rc6 v0.11.13-rc msutton 2022-03-14 13:40:18 +02:00
  • 7ffe83e4f1 Add the percentage report fix to v4 as well msutton 2022-03-14 13:16:13 +02:00
  • df643f67cf Merge branch 'patch' into v0.11.13-rc (we apply the patch to p2p v4 since it still has the unoptimized IBD) msutton 2022-03-14 12:58:26 +02:00
  • 4e44dd8510
    Various P2P V5 IBD fixes (#1976) Michael Sutton 2022-03-14 12:21:32 +02:00
  • 1c2d2969d2 typo msutton 2022-03-14 11:46:17 +02:00
  • bab070a194 A duplicate blocks should not appear as a warning msutton 2022-03-14 11:39:24 +02:00
  • 9093409c74 Add a log to report utxo fetch failure with err message msutton 2022-03-14 11:38:48 +02:00
  • ba67602348 No orphan roots, so no need to queue the empty list msutton 2022-03-14 11:36:10 +02:00
  • 7fa944526f Make sure progress reporter does not exceed 100% msutton 2022-03-14 11:15:37 +02:00
  • cc95e95927 Make sure the syncer is behaving correctly to avoid out of index errors msutton 2022-03-14 11:04:38 +02:00
  • 83062049d7 Fetch missing bodies for both, syncer selected tip past and relay block past msutton 2022-03-14 10:51:03 +02:00
  • 011614a024 Add a verification step for catching possible new IBD errors msutton 2022-03-14 10:24:50 +02:00
  • ef76210253 Dequeue w/o timeout during pp anticone batch processing msutton 2022-03-14 10:14:57 +02:00
  • 7e484fd710 The first message is expected to contain headers and not a "done" message (+comment and error text fixes) msutton 2022-03-14 10:11:15 +02:00
  • 52f6044821 Merge branch 'dev' into unite-reachability-stores msutton 2022-03-13 21:14:31 +02:00
  • 1e56a22b32
    Ignore not found errors from tp.transactionsOrderedByFeeRate.Remove. (#1974) Svarog 2022-03-13 18:01:13 +02:00
  • d81a7b3146
    Merge branch 'dev' into mempool-still-broken stasatdaglabs 2022-03-13 17:22:36 +02:00
  • 7a95f0c7a4
    Use nil suggestedLowHash if selected parent pruning point is not in the future of the current one (#1972) Ori Newman 2022-03-13 17:22:03 +02:00
  • fcc6f3ddc2
    Merge branch 'dev' into fix-suggestedLowHash stasatdaglabs 2022-03-13 16:32:56 +02:00
  • c81506220b
    Send pruning point anticone in batches (#1973) Michael Sutton 2022-03-13 16:31:34 +02:00
  • 0327e65632 Extend timeout of simple sync msutton 2022-03-13 15:50:00 +02:00
  • 15e92d1b9a previous merge operation accidentally erased an important part of this pr msutton 2022-03-13 15:06:01 +02:00
  • 13c0d39426
    Merge branch 'dev' into fix-suggestedLowHash stasatdaglabs 2022-03-13 14:51:50 +02:00
  • 2a7ea53789 Keep IDs of prev messages unmodified msutton 2022-03-13 13:22:16 +02:00
  • 15a6c6deef here however, a timeout is required msutton 2022-03-13 12:34:02 +02:00
  • bdb0194b24 oops, this is a flow handler, by definition it needs to be w/o a timeout msutton 2022-03-13 12:31:44 +02:00
  • eca81b1f91 Assert that batch size < route capacity msutton 2022-03-13 12:24:56 +02:00
  • 051dbda6b1 Merge remote-tracking branch 'origin/dev' into pp-anticone-batches msutton 2022-03-13 12:10:32 +02:00
  • 903df8a051 Use DequeueWithTimeout msutton 2022-03-13 11:47:09 +02:00
  • e5598c15a7
    Fix ibd shared past negotiation to be non quadratic also in the worst-case (#1969) Michael Sutton 2022-03-13 11:27:50 +02:00
  • b027806182 Fix jsom format msutton 2022-03-13 11:26:55 +02:00