Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Taconator

Pages: [1]
1
Background

While recently discussing the feasibility of introducing "Fast Bitcoin" as a UIA to BitShares, a technical constraint within BitShares arose which might limit the introduction of this coin with the full quantity of units in Bitcoin (21,000,000) and with the fractional precision of 8 decimal digits.

Two constraints in the code were first investigated and appeared to be adequate for the requirement:

(a) asset object uses int64_t for the quantity of to "raw"/"highest precision" units (see asset.hpp amount)

(b) the decimal precision of a fractional unit can handle 12 decimal digits (see asset_ops.hpp asset_create_operation)

However, @abit highlighted a third constraint that is not compatible with the requirements.

(c) #define GRAPHENE_MAX_SHARE_SUPPLY int64_t(1000000000000000ll) in config.hpp

With a fractional precision of 8 decimal digits and this existing constant, only 10,000,000 BTC could be handled.

When asked about the origin of this numerical value, @pc noted, that as best as he could recall, it is set to 15 digits because IEEE doubles have 53 bits of precision. 2^53 ~= 9 * 10^15. Therefore, 10^16 could not be represented by an IEEE. In addition, @pc noted that "Languages like JavaScript use IEEE double for all numeric types."


Proposition

@pc suggested that one method of satisfying the requirements would be to change this constant to 9*10^15 without violating the IEEE representation of doubles.


Considerations

@alt suggested that pros and cons of this proposition be discussed publicly hence this post.

2
General Discussion / Fees Report
« on: April 20, 2017, 12:54:37 pm »
Greetings everyone,

Ten days ago, @tbone put out a call for information about the total fees collected on the network. I compiled this information for the time period from the blockchain's start, in October  2015, through March 2017. The report is available  here.

Please note several things about what the report is and is not:

  • the fees in the report are merely the fees collected by the blockchain network and which are later distributed to various accounts. These fees are a superset of the fees that are ultimately distributed to the network’s fee pool;
  • the document does not report on the volume of activities on the blockchain; rather it is focused on the fees collected as a result of the activities;
  • the document does not report on the subsequent distribution of the collected fees to entities such as the network, witnesses, worker proposals, asset issuers, referrers, nor lifetime member accounts;
  • the quantities that are reported in the document are all in terms of the asset units that were specified for fee payment (e.g. BTS, bitGold, etc.) and are not expressed in terms of any common asset unit.

In summary, fees were collected in terms of 349 assets. The total fees collected in the core asset, BTS, are 47,106,798 BTS. The leading types of operations that generated the fees in BTS are listed below.

Operation Type% of Total BTS
Asset Create48%
Account Upgrades26%
Account Create17%
Limit Order Create3%
Transfer Operation2%
Asset Publish Feed1%
Vesting Balance Withdrawal1%


The details of the data are presented in different ways to help with analyzing them in different ways. Appendix A categorizes the collected fees in percentage terms for every operation type. Appendix B contains the nominal fees for every type of operation which is helpful especially when a particular operation might have a relatively low quantity of fees which would be hidden when expressed solely in percentage terms.

If you do encounter any errors in the report, please let me know and I will correct the report as soon as possible.

Pages: [1]