Introduced default unlock duration when an account is unlocked from the console

This commit is contained in:
Bas van Kervel
2015-05-14 14:25:48 +02:00
parent bc83761996
commit 1fa48bc5e7
2 changed files with 10 additions and 0 deletions

View File

@ -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
}