Some basics seem to work now like storing messages, addresses, inventory vectors etc.
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
CREATE TABLE Node (
|
||||
ip BINARY(16) NOT NULL,
|
||||
port INT NOT NULL,
|
||||
services BIGINT NOT NULL,
|
||||
stream BIGINT NOT NULL,
|
||||
time BIGINT NOT NULL,
|
||||
|
||||
PRIMARY KEY (ip, port)
|
||||
);
|
@ -0,0 +1,7 @@
|
||||
CREATE TABLE Inventory (
|
||||
hash BINARY(32) NOT NULL PRIMARY KEY,
|
||||
stream BIGINT NOT NULL,
|
||||
expires BIGINT NOT NULL,
|
||||
data BLOB NOT NULL,
|
||||
version INT NOT NULL
|
||||
);
|
Reference in New Issue
Block a user