1. 01 Nov, 2018 1 commit
  2. 31 Oct, 2018 1 commit
  3. 30 Oct, 2018 5 commits
  4. 29 Oct, 2018 4 commits
  5. 26 Oct, 2018 4 commits
  6. 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
  7. 23 Oct, 2018 2 commits
  8. 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
  9. 19 Oct, 2018 1 commit
  10. 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
  11. 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
  12. 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
  13. 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
  14. 02 Oct, 2018 1 commit
  15. 26 Sep, 2018 1 commit
  16. 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
  17. 13 Sep, 2018 1 commit
  18. 06 Sep, 2018 1 commit
  19. 05 Sep, 2018 1 commit
  20. 04 Sep, 2018 1 commit
  21. 27 Aug, 2018 1 commit
  22. 09 Aug, 2018 1 commit
  23. 08 Aug, 2018 2 commits
  24. 07 Aug, 2018 1 commit
  25. 06 Aug, 2018 1 commit