mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 15:17:02 +00:00
namereg event
This commit is contained in:
@@ -26,6 +26,10 @@ func EventStringPermissions(name string) string {
|
||||
return fmt.Sprintf("Permissions/%s", name)
|
||||
}
|
||||
|
||||
func EventStringNameReg(name string) string {
|
||||
return fmt.Sprintf("NameReg/%s", name)
|
||||
}
|
||||
|
||||
func EventStringBond() string {
|
||||
return "Bond"
|
||||
}
|
||||
|
||||
@@ -7,6 +7,9 @@ import (
|
||||
var (
|
||||
MinNameRegistrationPeriod int = 5
|
||||
|
||||
// NOTE: base costs and validity checks are here so clients
|
||||
// can use them without importing state
|
||||
|
||||
// cost for storing a name for a block is
|
||||
// CostPerBlock*CostPerByte*(len(data) + 32)
|
||||
NameCostPerByte int64 = 1
|
||||
|
||||
Reference in New Issue
Block a user