mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-17 17:48:40 +00:00
Populate Seed (more TBD) and checks
This commit is contained in:
parent
83c76ec192
commit
d09290c5d4
8 changed files with 139 additions and 58 deletions
|
@ -18,6 +18,7 @@ func (a *Account) AsAccount() (protocol.Account, error) {
|
|||
ID: protocol.NewID(id),
|
||||
Flow: a.Flow, // needs parser here?
|
||||
Encryption: a.Encryption, // needs parser here?
|
||||
Seed: a.Seed,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
@ -29,6 +30,8 @@ type MemoryAccount struct {
|
|||
Flow string
|
||||
// Encryption of the account. Used for client connections, and only accepts "none" for now.
|
||||
Encryption string
|
||||
// Seed. Details TBD
|
||||
Seed string
|
||||
}
|
||||
|
||||
// Equals implements protocol.Account.Equals().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue