Giter Site home page Giter Site logo

Comments (5)

spikeekips avatar spikeekips commented on June 9, 2024 1

@Geod24 The concept of 'common budget account' of BOScoin is concrete, as I said in description and our whitepaper. The current tokennet(stellar) needs to create new account, 'common budget account' because genesis (block) account is widely opened.

Genesis account is for genesis block, and common budget will be for strategic purpose and transaction fee.

There are another issue we should concern, that is, we should migrate blocks from the current tokennet(stellar) including genesis account(it is widely open), so we need to create common budget account at the boot time and the transaction fee should be collected into it.

from sebak.

Geod24 avatar Geod24 commented on June 9, 2024

What is the genesis account used for ? Could we somehow use it as the common budget account ?

from sebak.

kfangw avatar kfangw commented on June 9, 2024

Somebody should take over this Issue

from sebak.

spikeekips avatar spikeekips commented on June 9, 2024

@kfangw I will.

from sebak.

spikeekips avatar spikeekips commented on June 9, 2024

The basic step is almost same with #308 (comment) .

If we will distribute tx fee in every block,

  1. Proposer injects the new operation, OperationCollectTransactionFee into proposer's special Transaction(this also will be used for inflation in every block)
  2. In OperationCollectTransactionFee has fields:
  • Amount: Amount is the total transaction fee in the Ballot
  • Target: Target is the public address of common budget account
  1. The other validators will verify,
  • Ballot has one transaction of proposer
  • This Transaction is signed by Proposer
  • This Transaction has valid operations, including OperationCollectTransactionFee
  • Amount of OperationCollectTransactionFee is correct
  1. proposed Ballot is accepted
  2. Amount will be applied to common budget account

There are additional issues.

How to broadcast the proposer's transaction

2 of kind solution we can think.

  • Broadcast it like normal transactions
  • Insert it into Ballot

Transaction Fee for OperationCollectTransactionFee

It should be 0

from sebak.

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.