Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4 Release #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/RTradeLtd/TxPB/v3
module github.com/RTradeLtd/TxPB/v4

go 1.13

Expand Down
14 changes: 8 additions & 6 deletions pb/namesys.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ message NameSysResolveRequest {
// before selecting the best record
uint32 dhtRecordCount = 3;
// the amount of time to wait
// for records to be fetched and verified
int32 dhtTimeout = 4;
// values are time.Duration so 1s, 1h, 10h, etc.. are acceptable values
string dhtTimeout = 4;
}

// NameSysResolveRequest is an answer to a resolve request
Expand All @@ -41,11 +41,13 @@ message NameSysPublishRequest {
bytes privateKey = 1;
// the value of this record
string value = 2;
// the eol for this publish, if 0 implies
// as NameSys::Publish call, if non 0 implies
// the eol for this publish, if empty string
// as NameSys::Publish call, if non empty string implies
// a NameSys:PublishWithEOL call
int32 eol = 3;
// values are time.Duration so 1s, 1h, 10h, etc.. are acceptable val
string eol = 3;
// if set, allows us to override default
// ttl value of ipns records
int32 ttl = 4;
// values are time.Duration so 1s, 1h, 10h, etc.. are acceptable val
string ttl = 4;
}