Rework time logic. All network protocols now use our native time, 64-bit

seconds since 1/1/2000. Some places internally use only 32-bits. We'll have
to fix that by 2130 or so.
This commit is contained in:
JoelKatz
2012-05-07 15:31:48 -07:00
parent 2fad636ed2
commit a626706638
5 changed files with 60 additions and 12 deletions

View File

@@ -774,7 +774,7 @@ void Peer::sendHello()
h->set_version(theConfig.VERSION);
h->set_ledgerindex(theApp->getOPs().getCurrentLedgerID());
h->set_nettime(theApp->getOPs().getNetworkTime());
h->set_nettime(theApp->getOPs().getNetworkTimeNC());
h->set_nodepublic(theApp->getWallet().getNodePublic().humanNodePublic());
h->set_nodeproof(&vchSig[0], vchSig.size());
h->set_ipv4port(theConfig.PEER_PORT);