Code Monkey home page Code Monkey logo

Comments (2)

FletcherMan avatar FletcherMan commented on August 16, 2024

Support full node(block sync)
Full node needs to be supported for state transition

Tss manager

  • Websocket Server

  • Request Acceptor

    • Accpet the request for signing
    • tx batches need to be submitted to DA
    • state batches(execution results) need to be submitted to Layer1
      from batch submitter
  • Signing Task Controller

    • Get the requests to be handled
    • Confirm the tss members what will join the signing task corresponding to the event via communicating with each tss node
    • Retrieve the signature by dispatching the signing task to tss members
  • Govern

    • Tssnode liveness management
    • Collect the malicious behaviors of tss nodes, and build the the transaction to submit the slashing tx to Layer1

Tss node

  • Websocket client
  • Tss Core
    • p2p communication
    • tss algorithm
  • Request Validation

Batch submitter
Ask tss manger to generate the signature for tx batches and state batches.

L2geth
Fees calculation
Record fees with block ID in TssRewardContract after each block

Contacts

  • Tss nodes selection

    • Tss staking contract
      • Stake bit for selection
      • Tss members confirm
      • Tss CPK confirm
  • Incentive

    • TssRewardContract(L2):
      • record tss nodes reward for each block
      • claim reward for tss nodes
    • provide entrance for initiating L2ClaimTssReward message(claim reward payload on L2), and calling sendCrossDomainMessage
    • SCC adjustment
  • Slashing
    Contract(L1) for recording malicious behavior of tss nodes, and slashing stakes for the malicious tss node.

from mantle.

byteflyfunny avatar byteflyfunny commented on August 16, 2024

Related sub issue about tss node:
#10
#51
#52

from mantle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.