oxarbitrage
2b1f1b7f74
add commented GRAPHENE_TEST_NETWORK to config
...
for issue https://github.com/bitshares/bitshares-core/issues/307
2017-06-10 17:38:46 -03:00
Vikram Rajkumar
8ae1f6b3a5
Remove NTP time
2017-03-16 12:53:52 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
d0609e8e74
Update copyright notice for BitShares
2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2
Update copyright notice
2015-10-12 13:32:47 -04:00
Daniel Larimer
bb0ea77e80
throttling P2P code
2015-10-05 08:44:59 -04:00
Eric Frias
74bbde785b
In the p2p networking code, request multiple transactions at a time to improve performance during flooding
2015-09-29 17:37:32 -04:00
Eric Frias
9536350a50
Reduce the amount of time we'll wait for a peer to provide a requested block to
...
one second (down from one full block interval), to reduce the chance of us getting
blocks out of order.
Remove the variable we use to keep track of the last block number a peer has;
This was an optimization in BitShares 0.x where looking up the number was expensive,
and maintaining it is error-prone.
2015-09-21 11:48:58 -04:00
Eric Frias
cdd5cae385
Add extra error reporting when we get a list of sync blocks that don't make sense, and replace the assert
...
with a log+disconnect.
2015-09-19 17:08:57 -04:00
Eric Frias
0046cc0698
Fix error messages generated when peer is syncing with empty blockchain
2015-09-11 15:26:55 -04:00
Eric Frias
b6bba74301
Restore much of the syncing code from BitShares 0.x, and add optimizations that prevent us from attempting to sync with peers those blockchain diverged from ours many blocks ago, which also reduces the size of sync messages. Add logging.
2015-09-10 08:56:29 -04:00
Eric Frias
5662a8423c
Increase duration of message cache from two blocks (which in practice meant anything > 1 block) to 30 blocks, and move the constant to config.hpp
2015-09-02 17:26:26 -04:00
Daniel Larimer
2464b788ad
improve reindexing performance
2015-08-24 17:57:44 -04:00
Eric Frias
c0b9af9a99
Greatly reduce the amount of time the p2p network code will wait for a peer to
...
return a requested block/transaction. Make this time dependent on the actual block
interval. This should allow the the node to give up and request the block from
another peer before the ~30 second undo interval has passed.
Fix the merkle root calculation to avoid reading
past the end of a vector. Modify the algorithm to do what was likely intended
(this modification is currently disabled because it will yield different results
than the currently-running testnet)
Fix windows build errors.
2015-08-24 09:57:47 -04:00
theoreticalbts
2d1e76aed0
Get rid of chain ID global, move chain_id_type to types.hpp
2015-08-06 12:56:40 -04:00
theoreticalbts
2e9876b557
Implement chain-locked transactions
2015-08-06 12:56:37 -04:00
Eric Frias
11a5d2b620
When the p2p code processes a block that contains transactions
...
we haven't seen, avoid fetching those transactions separately
2015-07-16 15:31:52 -04:00
Vikram Rajkumar
6043586d15
Rename bad references to delegate -> witness; #147
2015-07-13 16:08:17 -04:00
Daniel Larimer
04b8820b3b
Merge branch 'master' into fee_refactor
2015-07-09 16:34:56 -04:00
theoreticalbts
ae7b904e4a
Clean up some unused files
2015-07-09 11:59:06 -04:00
Daniel Larimer
fdcf821c41
Progress on #144 - refactoring fee schedule
2015-07-08 18:45:53 -04:00
Eric Frias
609f5a746e
Quiet harmless compiler warnings
2015-07-01 11:16:25 -04:00
Eric Frias
11b357494b
Remove leveldb code from peer database, replace with writing to json
...
file. Still need to add code to periodically write the file out to
disk.
2015-06-24 18:21:20 -04:00
Nathan Hourt
0a945b0257
Initial commit
2015-06-08 12:36:37 -04:00