当前位置: 首页 > 文档资料 > MOAC 中文 WIKI >

SCS

优质
小牛编辑
114浏览
2023-12-01

合约验证节点中文页面

The SCS node is to support the MicroChain on the MOAC blockchain. It generates the blocks for the MicroChains and gets rewards from them.

MOAC is one of the first blockchain solutions to implement a unique MicroChain per Smart Contract, providing for efficiency and scalability beyond existing solutions.

The MOAC Platform uses MicroChains to separate processing tasks and isolate blockchain functions from business logic for each individual smart contract. By providing each Smart Contract with its own unique MicroChain, it enables Smart Contracts to use a variety of consensus protocols and results in a wider range of potential business logic use cases. Developers have the freedom to select the consensus protocol that best fits their use case and determine the number of nodes allocated to a specific Smart Contract. All the states of the Smart Contract are saved inside the local MicroChain and can write data to the MotherChain as needed for finality.

We are working hard to improve the performance of MicroChains and make it easier for all the users.

子链中文文档请看这个链接

Workflow for MOAC MicroChain:

moac_subchian

2019/01/21

SCS updated with enabling the cross-chain atomic swap of Moacs between MicroChains and MotherChain; Fixed the bug that MicroChain flush stop before DAPP deployed;

2019/01/09

SCS updated with enabling the cross-chain atomic swap of tokens between MicroChains and MotherChain; Support proxy server cache and added NotifySyncEvent in proxy server;

2018/11/15

  • Fixed the bugs in HandleProposalDistribute and getCurNodeList
 functions;
  • Modified the way to get account nonce;
  • In command line flags, changed 'rpc1' to 'rpcdebug', 'rpc2' to 'rpc';
  • Used 'rpccorsdomain' flag to control the domains from which to accept cross origin requests;
  • Added 'getBlockList' and 'getMicroChainInfo' methods;

2018/10/30

  • Fixed an "out of gas" error when calling contract function using JSON-RPC calls
  • Fixed some issues found in the flush process;
  • Provided a new command options, user can use -h to see the new options ;
  • Added JSON-RPC rpc interfaces with new RPC commands:

2018/09/30

A new SCS is released in Nuwa1.0.3 for testnet only with RPC support.

2018/07/31

The SCS packages are ready and will be released on 2018/08/08 after the mainnet upgrade to Nuwa1.0.0.

2018/06/30

We released the test packages for testnet 101.

2018/05/22

We released a package Only running at a single node mode for easy debugging. It contains both vnode and scs executables and necessary files

We also have a video channel that has instructions for users and developers. Please let us know your thoughts and comments.

Terms

  • DAPP user: people use DAPP and call DAPP contracts.
  • DAPP developer: people develop and deploy DAPP contracts.
  • MOAC-VNODE: VNODE
  • SCS-miner: People run SCS and get rewards from MicroChain.
  • SCS-monitor: People run SCS to monitor the MircoChain status, do not join consensus and cannot get rewards.
  • SCS-backup: People run SCS and backup all the data for the MicroChain, do not join consensus and cannot get rewards.

MOAC has multiple types of smart contracts on the MotherChain to run MicroChain:

  • System Contract: contract used for internal transactions, cannot be changed and only use internally.
  • SubchainProtocolBase: contract used to register SCS into SCS pool.
  • VnodeProtocolBase: contract used to register VNODE into proxy pool.
  • SubchainBase: contract to control MicroChain generation, dismiss and other functions.
  • DAPP smart contract: contract deployed on MicroChain.

DAPP developers/users only use SubchainBase and DAPP smart contrat.

MicroChain tutorials:

MicroChain user roles

SCS mining guide

SCS monitor guide

MicroChain DAPP guide

VNODE Proxy guide

MicroDesign info

SubChainBase

SCS node selection

SCS creation

SCS running

SCS flushing