1. 15 Feb, 2019 1 commit
    • Sergei Zubov's avatar
      Merge with stratis release-3.0.0 · 07f6c5ca
      Sergei Zubov authored
      Merge with commit eab948c7387dd08e53574dca41f59630b4c14c7c
      
      Merge network registration
      
      Merge coinview rule
      
      Merge DBreeze CoinView
      
      Merge consensus rule context and base
      
      Merge UnspentOutputSet
      
      Merge block fee rule
      
      Merge load coinview rule
      
      Merge funds preservation rule
      
      Merge consensus errors
      
      Merge transaction builder
      
      Merge block definition
      
      Fix network settings
      
      Merge pos minting
      
      Merge mempool
      
      Merge wallet
      
      Merge light wallet
      
      Merge apps
      
      Fix node builders
      
      Fix working directory
      
      Fix stylecop settings
      
      Modify TxMemPool
      
      Add DeStreamCoinviewHelper
      
      Fix API ports
      
      Fix staking with unconfirmed transactions
      
      FundsPreservationRule compares total inputs and outputs in block. If
      block contains unconfirmed transactions, their input can't be found in
      UTXOs. In that case, inputs are searched in transactions of validating
      block.
      07f6c5ca
  2. 13 Feb, 2019 1 commit
  3. 19 Dec, 2018 1 commit
  4. 18 Dec, 2018 1 commit
  5. 14 Dec, 2018 1 commit
  6. 20 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 2 commits
  9. 12 Nov, 2018 1 commit
    • Sergei Zubov's avatar
      Modify fee calculations · 781d0b29
      Sergei Zubov authored
      Splitting fee between miner and DeStream extracted to function.
      In consensus, sum of fees of all transactions is split, not each fee.
      781d0b29
  10. 01 Nov, 2018 2 commits
  11. 31 Oct, 2018 1 commit
  12. 29 Oct, 2018 4 commits
  13. 26 Oct, 2018 4 commits
  14. 23 Oct, 2018 2 commits
  15. 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
  16. 19 Oct, 2018 1 commit
  17. 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
  18. 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
  19. 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
  20. 26 Sep, 2018 1 commit
  21. 06 Sep, 2018 1 commit
  22. 05 Sep, 2018 1 commit
  23. 04 Sep, 2018 1 commit
  24. 27 Aug, 2018 1 commit
  25. 08 Aug, 2018 1 commit
  26. 03 Aug, 2018 1 commit
  27. 31 Jul, 2018 1 commit
  28. 27 Jul, 2018 1 commit