twister-core/src
Luke Dashjr c3f95ef13f Choose reasonable "smart" times to display for transactions
Logic:
- If sending a transaction, assign its timestamp to the current time.
- If receiving a transaction outside a block, assign its timestamp to the current time.
- If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time.
- If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction.
- If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.
2012-08-23 18:38:22 +00:00
..
json
obj
obj-test
qt Update translations from transifex 2012-08-22 14:05:01 +02:00
test Store a fixed order of transactions (and accounting) in the wallet 2012-08-23 18:18:20 +00:00
addrman.cpp
addrman.h
allocators.h
base58.h
bignum.h
bitcoinrpc.cpp RPC: add facility to enable RPCs to run outside cs_main, wallet locks 2012-08-21 12:03:52 -04:00
bitcoinrpc.h Merge pull request #1493 from jgarzik/unlocked-rpc 2012-08-21 09:22:13 -07:00
checkpoints.cpp
checkpoints.h
compat.h
crypter.cpp
crypter.h
db.cpp
db.h
init.cpp Fix infinite loops in connection logic 2012-08-22 13:35:33 +02:00
init.h
irc.cpp
irc.h
key.cpp
key.h
keystore.cpp
keystore.h
main.cpp Do not accept orphan blocks in -loadblock mode 2012-08-21 19:18:53 +02:00
main.h
makefile.linux-mingw RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module 2012-08-21 11:03:38 -04:00
makefile.mingw RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module 2012-08-21 11:03:38 -04:00
makefile.osx RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module 2012-08-21 11:03:38 -04:00
makefile.unix Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoin 2012-08-21 13:58:24 -04:00
mruset.h
net.cpp Fix infinite loops in connection logic 2012-08-22 13:35:33 +02:00
net.h
netbase.cpp
netbase.h
noui.cpp
protocol.cpp
protocol.h
rpcblockchain.cpp RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module 2012-08-21 11:03:38 -04:00
rpcdump.cpp
rpcmining.cpp RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module 2012-08-21 11:03:38 -04:00
rpcnet.cpp
rpcrawtransaction.cpp JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to transaction Object outputs 2012-08-23 18:30:30 +00:00
rpcwallet.cpp Choose reasonable "smart" times to display for transactions 2012-08-23 18:38:22 +00:00
script.cpp
script.h
serialize.h
strlcpy.h
sync.cpp
sync.h
ui_interface.h
uint256.h
util.cpp Restore OSX 10.5 compatibility (do not use pthread_setname_np) 2012-08-21 12:00:05 -04:00
util.h
version.cpp
version.h
wallet.cpp Choose reasonable "smart" times to display for transactions 2012-08-23 18:38:22 +00:00
wallet.h Choose reasonable "smart" times to display for transactions 2012-08-23 18:38:22 +00:00
walletdb.cpp Store a fixed order of transactions (and accounting) in the wallet 2012-08-23 18:18:20 +00:00
walletdb.h Store a fixed order of transactions (and accounting) in the wallet 2012-08-23 18:18:20 +00:00