1. 11 Dec, 2018 1 commit
    • Sergei Zubov's avatar
      Fix fees check in consensus · 06fd8d31
      Sergei Zubov authored
      InputScriptPubKeys from different transactions could mix and corrupt
      validation context. PubKeys moved from list to dictionary of lists,
      with transaction hash as key.
      06fd8d31
  2. 30 Nov, 2018 1 commit
  3. 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
  4. 21 Nov, 2018 4 commits
  5. 20 Nov, 2018 2 commits
  6. 19 Nov, 2018 1 commit
  7. 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
  8. 13 Nov, 2018 3 commits
  9. 12 Nov, 2018 2 commits
  10. 09 Nov, 2018 1 commit
  11. 07 Nov, 2018 2 commits
  12. 01 Nov, 2018 3 commits
  13. 31 Oct, 2018 1 commit
  14. 30 Oct, 2018 5 commits
  15. 29 Oct, 2018 4 commits
  16. 26 Oct, 2018 4 commits
  17. 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
  18. 23 Oct, 2018 2 commits
  19. 22 Oct, 2018 1 commit
    • 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