1. 29 Oct, 2018 1 commit
  2. 26 Oct, 2018 4 commits
  3. 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
  4. 23 Oct, 2018 2 commits
  5. 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
  6. 19 Oct, 2018 1 commit
  7. 17 Oct, 2018 2 commits
    • Sergei Zubov's avatar
      Modify consensus to ignore pointer input · 0e5c86ab
      Sergei Zubov authored
      Input with pointer to change output conflicts with consensus rules as
      there is no underlying transaction with funds for that input. Consensus
      modified to ignore that input in funds checks.
      0e5c86ab
    • Sergei Zubov's avatar
      Add mark at output with change · e0951510
      Sergei Zubov authored
      To secure that fee is charged from spending coins and not from change,
      DeStream marks output with change.
      It is implemented via additional empty input with PrevOut hash
      uint256.Zero, that points to output with change. Input is signed, so
      it's verified that user has access to address from output, and this is
      change address.
      e0951510
  8. 12 Oct, 2018 1 commit
    • Sergei Zubov's avatar
      Add DeStream fee to mined block · 44597e7a
      Sergei Zubov authored
      Before the network is fully established, some blocks must be mined, not
      stacked. Fee should be applied to transactions in mined blocks too.
      44597e7a
  9. 11 Oct, 2018 1 commit
    • Sergei Zubov's avatar
      Add DeStream fee to transactions · 23daf4d4
      Sergei Zubov authored
      Fee is calculated based on fixed rate and splits up between miner and
      DeStream wallet. Fee and split rates are network parameters.
      Fee check is disabled, DeStream don't have minimal or maximal fee.
      Funds are sent to DeStream wallet via additional output of CoinStake
      transaction.
      23daf4d4
  10. 03 Oct, 2018 2 commits
    • Sergei Zubov's avatar
      Add DeStream cointype and prefix · afa4ab6b
      Sergei Zubov authored
      Cointype for DeStream - 3564, 0x80000dec (DeStream Coin). Leading
      symbol in address - D
      afa4ab6b
    • Sergei Zubov's avatar
      Modify emission · 1df0738a
      Sergei Zubov authored
      Splitting initial coins to multiple addresses allows creating multiple
      transactions from initial wallet in one block. Also, all funds won't be
      locked awaiting confirmations, just part of them.
      1df0738a
  11. 02 Oct, 2018 1 commit
  12. 26 Sep, 2018 1 commit
  13. 20 Sep, 2018 1 commit
    • Sergei Zubov's avatar
      Modify processing of genesis block · 00b2e5bd
      Sergei Zubov authored
      Coins are emitted in genesis block. To make them spendable, they are
      added to CoinView. WalletManager changed to include them in wallet's
      balance.
      00b2e5bd
  14. 13 Sep, 2018 1 commit
  15. 06 Sep, 2018 1 commit
  16. 05 Sep, 2018 1 commit
  17. 04 Sep, 2018 1 commit
  18. 27 Aug, 2018 1 commit
  19. 09 Aug, 2018 1 commit
  20. 08 Aug, 2018 2 commits
  21. 07 Aug, 2018 1 commit
  22. 06 Aug, 2018 1 commit
  23. 03 Aug, 2018 1 commit
  24. 02 Aug, 2018 1 commit
  25. 01 Aug, 2018 1 commit
  26. 31 Jul, 2018 1 commit
  27. 30 Jul, 2018 1 commit
  28. 27 Jul, 2018 2 commits
  29. 26 Jul, 2018 1 commit
  30. 25 Jul, 2018 1 commit
  31. 24 Jul, 2018 1 commit