Skip to content

V Systems v0.2.1 Euclid

Compare
Choose a tag to compare
@ncying ncying released this 16 Aug 08:05
· 962 commits to master since this release
v0.2.1
51c8b7d

Release Details

  1. design a basic contract format in v systems
  2. add basic token related contract
  3. re-factor the storage of the blockchain
  4. re-organize the directories in
    src/main/scala
    src/test/scala
  5. support string amount in Payment and Lease for Node.js API users

Release Information

  1. contract related transactions will be activated on height 6100000 (for Mainnet), before this height, all versions before worked. After the contract related functions activate, only Euclid release or later can be worked.
  2. all node users should backup all block information generated before. this release required to re-download the whole blockchain data started from height 1.
  3. the default db path is directory = {user.home}/.vsys(Wallet and peers data) and data-directory = {user.home}/.vsys/data(Block data), check the configure files and reset the path.
  4. this release for both V Systems Testnet and Mainnet users
  5. this release most based on branch Euclid

Description

  1. given/design a basic/simply none Turing complete contract format
  2. a simple permitted token management contract for more blockchain developers and users
  3. powerful the base main blockchain functionality

contract format

  1. design a basic contract structure. (lang code, lang version, trigger, descriptor, state variable, textual)
  2. add basic contract execute environment. (for basic opc, basic function)
  3. add two related transactions. (register contract transaction and execute contract function transaction)

token related contract

  1. add 9 classes of opc for token
  2. add 7 types of DataEntry
  3. design two permitted contracts (include trigger: init, descriptor: issue, destroy, supersede, split[optional], send, transfer, deposit, withdraw, totalSupply, maxSupply, balanceOf, getIssuer)
  4. add related state DB
  5. add failed transaction status
  6. add related valid and invalid unit test for new features