BitShares Forum

Main => Technical Support => Topic started by: chainmaker on September 09, 2016, 10:50:49 am

Title: genesis.json current_fees
Post by: chainmaker on September 09, 2016, 10:50:49 am
Hi everyone  :)

I've been messing around with Graphene lately trying to run a private testnet. I've noticed that in the genesis.json there is the current_fees parameter that I guess contains all the fees paid for transactions, creating accounts etc etc. What I don't know is how to connect say:

Code: [Select]
          5,{
            "basic_fee": 500000,
            "premium_fee": 200000000,
            "price_per_kbyte": 100000
          }

with an actual operation? I can't seem to find it anywhere in the code... Any help would be appreciated  :D
Title: Re: genesis.json current_fees
Post by: pc on September 09, 2016, 05:26:26 pm
The "5" is the (0-based) index of the operation in the graphene::chain::operation type.

I. e. 0 is transfer, 1 is limit_order_create etc.