1/ Everything you need to know about how @hathornetwork combines #blockchain and #DAG technology to scale the network, without taking hits to its security and decentralization levels, and how this architecture affects transaction finality time.
2/ To understand transaction finality time on Hathor we must first understand how transactions are confirmed.
3/ Bitcoin's main scalability problem is the fact that its transactions sit inside the blocks, and the number of txs that can fit is limited by the block size.
Hathor blocks are very simple. There are no txs inside so they are lightweight and fast to propagate into the network.
4/ Hathor txs live outside the blocks, in a DAG of txs. Whenever a new tx comes along it gets included in the DAG.
Txs are only connected to other transactions. Blocks on the other hand are connected to both blocks and transactions and they form a blockchain inside the DAG.
5/ This blockchain inside the DAG confirms the transactions. Every time a new block is found it confirms two transactions in the DAG.
Each of these transactions again confirms two previous transactions. This is repeated until the whole DAG of transactions has been confirmed.
6/ So it doesn't matter if there are 2, 10, or 10,000 transactions between two blocks. All transactions that have come in since the previous block always get confirmed when the next block arrives.
7/ Now we know that transactions are confirmed not only by blocks but also by other transactions.
When traffic is low and there aren’t many new txs coming in, they obviously don’t contribute a lot to the confirmations. The blocks do most of the work in this scenario.
8/ However, when there are many transactions coming in, they give a large contribution to confirmations.
In this case, many of the transactions will already have been confirmed before the next blocks are found, so now the blocks just further strengthen the confirmations.
9/ In a nutshell, this is how blockchain and DAG are intertwined in Hathor’s architecture and how the DAG enables faster confirmation times the higher the number of transactions.
10/ Visualization of a Hathor graph with transactions and blocks
🟥 = blocks (forming a blockchain within the DAG of txs)
🟢 = confirmed transactions
⚪️ = in-progress transactions
🟡 = unconfirmed transactions (tips)
⚫️ = Not yet propagated transactions solving proof-of-work
11/ So how does this architecture affect transaction finality times?
We will assume finality means six confirmations as this is the well-known criteria from Bitcoin and has been adopted by most of the ecosystem.
12/ A transaction is said to be confirmed when it has reached an accumulated weight of six times the hash rate of the network. Put differently, to successfully double-spend tokens, an attacker would have to put in a minimum work effort of six times the entire network’s hash rate.
13/ Following this, the maximum transaction finality time on Hathor is three minutes. This assumes six confirmations, 30 seconds block time, and no new transactions coming in at all.
14/ However, in a high-load scenario where lots of transactions are being generated, finality becomes close to instant as transactions are able to confirm themselves without having to wait for blocks.
15/ We now know that changes in actual TPS affect confirmation times. So do changes in the relative hash power between miners and transactions (remember, miners only mine blocks on Hathor, not transactions).
16/ E.g. if the miners’ hash rate increases so does the required minimum accumulated weight for confirmed transactions, and more transactions will be needed to give more accumulated weight.
17/ These are just the basics and not extensive in any way. For a deep dive into this topic and the maths behind it, check out chapter 8 of Marcelo's thesis.
1/ Here’s a thread answering the most common questions on $HTR tokenomics. It also highlights and clarifies a couple of important elements that aren’t obvious from just reading the tokenomics document.
2/ 1b $HTR coins were premined at the genesis block in January 2020, with the following allocation:
3/ Earlier this year, 20% of the premine was burned, & an additional 18% locked up for 5 years, removing a total of 360m $HTR. The 180m vaulted tokens will be re-evaluated after 5 years & could get burned in full or partially if they aren’t deemed necessary for ecosystem growth.
3/11 If our industry's end goal is mainstream adoption, we need to shift our messaging — focus less on tech and decentralization aspects, more on UX & value. We need to create plug-and-play blockchain solutions that people will want to pick up and use because they feel familiar.
1/12 @HathorNetwork offers a unique set of features for both builders and users. Some well known ones, others not so much. Let’s look at why you might want to consider Hathor as the layer 1 solution for your project. $HTR @HTRFDT#BuildOnHathor
2/12 Easy tokenization is the obvious one. You create your own token in less than a minute, no coding required. $HTR
3/12 As opposed to ERC tokens, your custom Hathor token is a layer 1 token. It inherits the same features and security as the native token, $HTR, effectively giving your token the same level of security as the #Bitcoin $BTC blockchain.
1/7 Now is probably a good time to secure your $HTR, and @HathorNetwork wallet is the only one available at the moment. While we wait for @Ledger and others to do the integration, here’s a "cold wallet" DIY.
2/7 The Hathor wallet is perfectly safe, this is just an extra layer of security for the paranoid ones while we wait for hardware options to become available.
PS: If you’re keeping your coins on the exchange you’re doing it wrong.
3/7 Download and install the Hathor wallet for your device (iOS and Android apps are available as well) hathor.network/resources/hath…
1/13 I’ve seen a couple of “burn tokens, premine bad” comments on the $HTR tokenomics. Are these valid concerns that the team should listen to or baseless criticism from impatient investors hoping for a quick pump? Let’s look at facts and arguments. @HathorNetwork
📖 a thread 📖
2/13 Circulating $HTR supply at the moment is 181m with total supply at 869m (∞ due to mining rewards, like ETH). For numbers updated in real-time, see api.economics.hathor.network/status
3/13 1b $HTR coins were premined at the genesis block in January 2020, with the following allocation: