Amendment Idea: Memo Fees #413
mvadari
started this conversation in
Ideas (pre standard proposal)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Memo Fees
Abstract
Avoid/reduce memo spam
1. Overview
This proposal does not involve changing any transactions, just how memos are processed (and equivalent tx fees). The
FeeSettingsobject will also be modified.This feature will require an amendment, tentatively titled
MemoFees.2. Ledger Entry:
FeeSettings2.1. Fields
As a reference, here are the existing fields for the
FeeSettingsledger object.BaseFeeDropsstringAmountFlagsnumberUInt32FeeSettingsobjects. The value is always0.LedgerEntryTypestringUInt160x0073, mapped to the stringFeeSettings, indicates that this object contains the ledger's fee settings.ReserveBaseDropsstringAmountReserveIncrementDropsstringAmountPreviousTxnIDstringUInt256PreviousTxnLgrSeqnumberUInt32This spec proposes one additional field:
FreeMemoBytes512numberUInt32MemoBytesPerDrop10numberUInt322.1.1.
FreeMemoBytesThis field will be initialized to
512, though of course this value can be changed via fee voting.2.1.2.
MemoBytesPerDropThis field will be initialized to
10, though of course this value can be changed via fee voting.3. Transaction: Common Fields
As a reference, here are the fields that all transactions currently have. This spec does not propose any modifications.
3.1. Transaction Fee
Memos are now free up to
FreeMemoBytesbytes, and beyond that length are charged 1 drop perMemoBytesPerDropbytes. In other words, a 256-byte memo would still be free, but a 522 byte memo would cost 1 extra drop (in addition to the transaction base fee).4. Transaction:
SetFeeAnalogous changes to
FeeSettings5. RPC:
feeAdd fields for new fee fields
Beta Was this translation helpful? Give feedback.
All reactions