Skip to content

Commit 371ef90

Browse files
committed
lint
1 parent 551971a commit 371ef90

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proposals/0110-exponential-fee-for-write-lock-accounts.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ simd: '0110'
33
title: Exponential fee for write lock accounts
44
authors:
55
- Anatoly Yakovenko, Tao Zhu
6-
category: Standard/Meta
7-
type: Core/Networking/Interface/Meta
6+
category: Standard
7+
type: Core
88
status: Draft
99
created: 2024-01-18
1010
feature: (fill in with feature tracking issues once accepted)
@@ -13,7 +13,7 @@ extends: (optional - fill this in if the SIMD extends the design of a previous
1313
SIMD)
1414
---
1515

16-
## Summary:
16+
## Summary
1717

1818
In a permissionless environment with low fees, users often submit transactions
1919
for opportunistic trades without considering the success probability. Almost
@@ -26,7 +26,7 @@ Exponential Moving Average (EMA) of contentious accounts' CU utilization
2626
per block and exponentially increasing the cost to write-lock these accounts
2727
if their utilization remains high.
2828

29-
## Motivation:
29+
## Motivation
3030

3131
The motivation behind this feature is to introduce economic back pressure,
3232
dissuading DeFi spammers from overwhelming the network. DeFi spam, defined as
@@ -59,7 +59,7 @@ compute-unit at a given condition.
5959
- *write lock fee*: denominated in `lamport`, it is fee dedicated for write
6060
lock an account, calculated as `compute-unit-pricer.cost-rate() * transaction.requested_cu()`.
6161

62-
## Design Highlights:
62+
## Design Highlights
6363

6464
- Account Association with Compute Unit Pricer:
6565
- Accounts are associated with a *compute unit pricer*, and the *runtime*
@@ -85,7 +85,7 @@ lock an account, calculated as `compute-unit-pricer.cost-rate() * transaction.re
8585
- Fee required to write-lock an account is calculated by multiplying the
8686
write-lock *cost rate* by the transaction's requested CU.
8787

88-
## Detailed Design:
88+
## Detailed Design
8989

9090
- Initialization and Inheritance:
9191
- Bank initializes an empty account_write_lock_fee_cache, an LRU Cache of
@@ -111,7 +111,7 @@ lock an account, calculated as `compute-unit-pricer.cost-rate() * transaction.re
111111
- Collected priority fees are 100% rewarded.
112112
- Collected signature fees are 50% burnt, 50% rewarded.
113113

114-
## Impact:
114+
## Impact
115115

116116
- Rate of successful CU inclusion in a block is expected to increase, reducing
117117
failed transactions.
@@ -121,7 +121,7 @@ particularly during congestion.
121121
heightened fees.
122122

123123

124-
## Other Considerations:
124+
## Other Considerations
125125

126126
- Users may need new instruction to set a maximum write-lock fee for transaction
127127
- Consider tooling for wallets/simulators to query "min/max write lock fee."

0 commit comments

Comments
 (0)