mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
More work on the wallet/key scheme.
Call the public generator a public generator rather than a public key. Ignore private sub-keys greater than the EC group Bugfixes. When we create a new key family, validate the first 500 keys, just out of paranoia.
This commit is contained in:
@@ -77,12 +77,13 @@ CREATE TABLE LocalAcctFamilies ( -- a family of accounts that share a payphrase
|
||||
Comment TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE LocalAccounts ( -- an individual account
|
||||
CREATE TABLE LocalAccounts ( -- an individual account
|
||||
ID CHARACTER(40) PRIMARY KEY,
|
||||
DKID CHARACTER(40), -- root determinstic key
|
||||
DKSeq BIGINT UNSIGNED, -- sequence number
|
||||
KeyType CHARACTER(1) -- F=family
|
||||
PrivateKey TEXT, -- For F, FamilyName:Seq
|
||||
Seq BIGINT UNSIGNED, -- last transaction seen/issued
|
||||
Balance BIGINT UNSIGNED,
|
||||
LedgerSeq BIGINT UNSIGNED, -- ledger this balance is from
|
||||
Name TEXT,
|
||||
Comment TEXT
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user