-
Notifications
You must be signed in to change notification settings - Fork 64
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
Wallet creation time #920
Wallet creation time #920
Conversation
8bdf7b5
to
b61ea3d
Compare
Concept ACK. I think the GUI integration should go in a latter PR (since it needs to update the daemon). So a small addition to |
b61ea3d
to
7917794
Compare
docs added, now ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 7917794
use std::convert::TryInto; | ||
use std::{ | ||
collections::{HashMap, HashSet}, | ||
env, fs, io, path, process, | ||
str::FromStr, | ||
sync, thread, time, | ||
time::{SystemTime, UNIX_EPOCH}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, for next time:
use std::convert::TryInto; | |
use std::{ | |
collections::{HashMap, HashSet}, | |
env, fs, io, path, process, | |
str::FromStr, | |
sync, thread, time, | |
time::{SystemTime, UNIX_EPOCH}, | |
use std::{ | |
collections::{HashMap, HashSet}, | |
convert::TryInto, env, fs, io, path, process, | |
str::FromStr, | |
sync, thread, time, | |
time::{SystemTime, UNIX_EPOCH}, |
@@ -22,6 +22,7 @@ | |||
|
|||
def test_getinfo(lianad): | |||
res = lianad.rpc.getinfo() | |||
assert 'timestamp' in res.keys() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: could've sanity checked the value. For instance that it's after now - 1 day and lower or equal to now.
(partially) address #805