aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-16 06:27:13 +0800
committerobscuren <geffobscura@gmail.com>2015-05-16 06:27:13 +0800
commit1564f1a020b9edc78bc672f8f2df64b3d0dc55c3 (patch)
treed898e2b20a6c2e0b5613ae7f669499c5db23b719 /accounts
parent8e24378cc1acb074b56de75bf0baf6feb7927677 (diff)
parent7ea76fcf993f3fecb55233bdcc2409618d9080b9 (diff)
downloaddexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.gz
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.bz2
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.lz
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.xz
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.zst
dexon-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.zip
Merge branch 'release/0.9.21'
Diffstat (limited to 'accounts')
-rw-r--r--accounts/account_manager.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go
index 6cbd23c4e..13f16296a 100644
--- a/accounts/account_manager.go
+++ b/accounts/account_manager.go
@@ -49,6 +49,11 @@ var (
ErrNoKeys = errors.New("no keys in store")
)
+const (
+ // Default unlock duration (in seconds) when an account is unlocked from the console
+ DefaultAccountUnlockDuration = 300
+)
+
type Account struct {
Address common.Address
}