Skip to content

Commit c8fecc5

Browse files
authored
Statistics for epochs 500 to 550 (#313)
* Statistics for epochs 500 to 550 * Updated logbook
1 parent b678f67 commit c8fecc5

File tree

2 files changed

+174
-0
lines changed

2 files changed

+174
-0
lines changed

Logbook.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Leios logbook
22

3+
## 2025-05-02
4+
5+
### Statistics for blog post
6+
7+
In support of an upcoming block post motivating Leios, we have analyzed Cardano `mainnet` statistics regarding the Reserve, rewards, transactions, utlization, and fees. See [analysis/epoch-550.md](analysis/epoch-550.md) for methods and details.
8+
9+
- Findings for Epoch 500
10+
- The Reserve dropped 12.0 million ADA.
11+
- The Treasury increased 5.02 million ADA.
12+
- Non-Treasury ADA in circulation increased by 6.99 million ADA.
13+
- SPOs received 1.63 million ADA (21.1%) of the rewards.
14+
- Delegators received 6.10 million ADA (78.9%) of the rewards.
15+
- Findings for Epochs 500 through 550
16+
- 272k tx/epoch
17+
- 0.63 tx/second
18+
- Fee of 0.34 ADA/tx
19+
- 19.3% block space utilization
20+
321
## 2025-04-28
422

523
### Delta-QSD analysis of transaction lifecycle

analysis/epoch-550.md

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
# Cardano mainnet statistics near Epoch 550
2+
3+
4+
## Snapshot at Epoch 550
5+
6+
To orient ourselves, we look at the situation around Epoch 550.
7+
8+
9+
### Rewards and fees
10+
11+
```sql
12+
select
13+
earned_epoch as "Epoch Earned"
14+
, sum(amount) / 1e6 as "Reward [ADA/epoch]"
15+
, fees / 1e6 as "Fees [ADA/Epoch]"
16+
from reward
17+
inner join ada_pots
18+
on earned_epoch = epoch_no - 1
19+
where earned_epoch between 545 and 553
20+
group by earned_epoch, epoch_no, fees
21+
order by earned_epoch desc
22+
;
23+
```
24+
25+
```console
26+
Epoch Earned | Reward [ADA/epoch] | Fees [ADA/Epoch]
27+
--------------+----------------------+--------------------
28+
553 | 7735676.599078000000 | 64560.236707000000
29+
552 | 7680902.523601000000 | 50927.072843000000
30+
551 | 7725866.765871000000 | 53017.461145000000
31+
550 | 7725300.464196000000 | 67431.504009000000
32+
549 | 7728511.864023000000 | 56324.445971000000
33+
548 | 7765678.546916000000 | 53136.772606000000
34+
547 | 7840690.098216000000 | 54873.551989000000
35+
546 | 7870624.686871000000 | 53377.937268000000
36+
545 | 7726349.523622000000 | 63417.467271000000
37+
(9 rows)
38+
```
39+
40+
41+
### Treasury and reserve
42+
43+
```sql
44+
select
45+
epoch_no "Epoch"
46+
, treasury / 1e6 "Treasury [ADA]"
47+
, reserves / 1e6 "Reserve [ADA]"
48+
, fees / 1e6 "Fees [ADA]"
49+
from ada_pots
50+
where epoch_no between 545 and 555
51+
order by epoch_no desc
52+
;
53+
```
54+
55+
```console
56+
Epoch | Treasury [ADA] | Reserve [ADA] | Fees [ADA]
57+
-------+---------------------+---------------------+--------------------
58+
554 | 1739008615.83819600 | 7227379990.26737400 | 64560.236707000000
59+
553 | 1734673185.49121300 | 7239343896.06511500 | 50927.072843000000
60+
552 | 1730343069.06313000 | 7251344361.79792400 | 53017.461145000000
61+
551 | 1726047077.83648300 | 7263297721.98475800 | 67431.504009000000
62+
550 | 1721027451.02057900 | 7275303870.39383600 | 56324.445971000000
63+
549 | 1716669382.76785800 | 7287372980.42086700 | 53136.772606000000
64+
548 | 1712261860.26103800 | 7299564319.47391400 | 54873.551989000000
65+
547 | 1707859322.62212200 | 7311783103.86243300 | 53377.937268000000
66+
546 | 1703528717.03830800 | 7323776141.50259800 | 63417.467271000000
67+
545 | 1699217928.89060500 | 7335771117.34635300 | 66943.752902000000
68+
(10 rows)
69+
```
70+
71+
72+
### Disposition of rewards
73+
74+
```sql
75+
select
76+
earned_epoch as "Epoch earned"
77+
, type as "Recipient"
78+
, sum(amount) / 1e6 as "Reward [ADA]"
79+
, sum(amount) / (select sum(amount) from reward where earned_epoch = 550) as "Reward [%/100]"
80+
from reward
81+
where earned_epoch = 550
82+
group by earned_epoch, type
83+
;
84+
```
85+
86+
```console
87+
Epoch earned | Recipient | Reward [ADA] | Reward [%/100]
88+
--------------+-----------+----------------------+----------------------------
89+
550 | leader | 1628532.454779000000 | 0.21080506348285927427
90+
550 | member | 6096268.009417000000 | 0.78913021411542737867
91+
550 | refund | 500.0000000000000000 | 0.000064722401713347056331
92+
(3 rows)
93+
```
94+
95+
96+
### Findings
97+
98+
From this data we see that following between Epoch 500 and 501.
99+
100+
- The Reserve dropped 12.0 million ADA.
101+
- The Treasury increased 5.02 million ADA.
102+
- Non-Treasury ADA in circulation increased by 6.99 million ADA.
103+
- SPOs received 1.63 million ADA (21.1%) of the rewards.
104+
- Delegators received 6.10 million ADA (78.9%) of the rewards.
105+
106+
107+
## Averages from Epoch 500 to 550
108+
109+
Other statistics of interest, averaged from Epoch 500 to Epoch 550.
110+
111+
```sql
112+
select
113+
avg("Transactions") as "Transactions/epoch"
114+
, sum("Transactions") / count(distinct "Epoch") / 5 / 24 / 60 / 60 as "Transactions/second"
115+
, avg("Fees [ADA]") as "Fees [ADA/epoch]"
116+
, sum("Fees [ADA]") / sum("Transactions") as "Fees [ADA/tx]"
117+
, avg("Block Size [kB]") as "Block Size [kB]"
118+
, avg("Block Size [kB]") / (select max_block_size / 1000 from epoch_param where epoch_no = 550) as "Block Utilization [%/100]"
119+
from (
120+
select
121+
epoch_no as "Epoch"
122+
, sum(tx_count) as "Transactions"
123+
, sum(size) / 1000 / count(*) as "Block Size [kB]"
124+
from block
125+
where epoch_no between 500 and 550
126+
group by epoch_no
127+
) txs
128+
inner join (
129+
select
130+
epoch_no as "Epoch"
131+
, sum(fees) / 1e6 as "Fees [ADA]"
132+
from ada_pots
133+
where epoch_no between 500 and 550
134+
group by epoch_no
135+
) fees
136+
using("Epoch")
137+
;
138+
```
139+
140+
```console
141+
Transactions/epoch | Transactions/second | Fees [ADA/epoch] | Fees [ADA/tx] | Block Size [kB] | Block Utilization [%/100]
142+
---------------------+------------------------+--------------------+------------------------+---------------------+---------------------------
143+
272382.647058823529 | 0.63051538671023965333 | 93157.419716509804 | 0.34200937806581931488 | 17.4117647058823529 | 0.19346405228758169889
144+
(1 row)
145+
```
146+
147+
148+
### Findings
149+
150+
Thus from Epoch 500 to 550 we have the following:
151+
152+
- 272k tx/epoch
153+
- 0.63 tx/second
154+
- Fee of 0.34 ADA/tx
155+
- 19.3% block space utilization
156+

0 commit comments

Comments
 (0)