1. 30 Nov, 2018 1 commit
  2. 27 Nov, 2018 1 commit
    • Sergei Zubov's avatar
      Fix mempool corruption at zero-inputs · 784621af
      Sergei Zubov authored
      When node accepts transaction or receives block, it tries to load all
      inputs to mempool. Trying to load zero-inputs to mempool leads to
      corruption - valid transaction may be removed from mempool during
      conflicts check. To prevent this, inputs selection algorithms modified
      to ignore zero-inputs. Conflicts check ignores them too.
      784621af
  3. 21 Nov, 2018 4 commits
  4. 20 Nov, 2018 2 commits
  5. 19 Nov, 2018 1 commit
  6. 15 Nov, 2018 1 commit
    • Sergei Zubov's avatar
      Modify input selection · fe545d5a
      Sergei Zubov authored
      Only confirmed coinstake transactions are passed to transaction builder
      as available inputs.
      Inputs from coinstake transactions are not grouped to avoid spending
      all coins avaliable for staking.
      fe545d5a
  7. 13 Nov, 2018 3 commits
  8. 12 Nov, 2018 2 commits
  9. 09 Nov, 2018 1 commit
  10. 07 Nov, 2018 2 commits
  11. 01 Nov, 2018 3 commits
  12. 31 Oct, 2018 1 commit
  13. 30 Oct, 2018 5 commits
  14. 29 Oct, 2018 4 commits
  15. 26 Oct, 2018 4 commits
  16. 25 Oct, 2018 1 commit
    • Sergei Zubov's avatar
      Fix CoinStake transaction · 4791d4b6
      Sergei Zubov authored
      Only worker that finds solution to POS should add output with fees.
      Otherwise, race condition occurs and output with fee is added multiple
      times and not in right place, causing consensus to reject block with
      bad signature exception.
      4791d4b6
  17. 23 Oct, 2018 2 commits
  18. 22 Oct, 2018 2 commits
    • Sergei Zubov's avatar
      Add random select of fee address · 6cb9d329
      Sergei Zubov authored
      Sending all fees to same address will make funds on that address
      unspendable - it will never be enough confirmations on top of last
      transactions. Taking random address from pool will prevent this issue.
      6cb9d329
    • Sergei Zubov's avatar
      Add consensus rule for fee checking · b5070c9a
      Sergei Zubov authored
      Consensus checks that fee is charged from all spent funds (not change)
      and is split between miner and DeStream
      b5070c9a