Commit graph

778 commits

Author SHA1 Message Date
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
Daniel Larimer
b2c23cd37b Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-07 10:19:54 -04:00
Daniel Larimer
a32075897f adding verify_account_authority api 2015-09-07 10:19:51 -04:00
Eric Frias
a943de8b76 When rolling back on save, remove the rolled back blocks from our
databases so when we restart and begin syncing, we re-download and
push those rolled back blocks  (fixes bug introduced in
a5071f2568).
Fix logging of incorrect block numbers in p2p log.
2015-09-04 15:22:12 -04:00
Eric Frias
3cf1eb5d5c Avoid dereferencing invalid optionals 2015-09-03 18:54:10 -04:00
Eric Frias
1e87ddff00 Fix build error 2015-09-03 18:42:57 -04:00
Daniel Larimer
866c453f1a adding extra checks on startup 2015-09-03 18:12:55 -04:00
Daniel Larimer
a84e56c2aa fix market subscriptions 2015-09-03 17:43:26 -04:00
Daniel Larimer
a5071f2568 rollback on save 2015-09-03 17:42:52 -04:00
Daniel Larimer
86bb4cdbca restoring p2p code 2015-09-03 08:31:03 -04:00
Daniel Larimer
198cfd1231 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-02 18:43:21 -04:00
Daniel Larimer
1ebd0f5af6 Updating wallet to report participation rate. 2015-09-02 18:42:42 -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
theoreticalbts
cb2c5945b3 README.md: More detailed instructions for restricted APIs 2015-09-02 14:57:02 -04:00
theoreticalbts
c65f37ed6b cli_wallet: Exit instead of hanging when disconnected #291 2015-09-02 14:57:02 -04:00
theoreticalbts
025130b096 application.cpp: Fix --api-access option name 2015-09-02 14:57:02 -04:00
theoreticalbts
d2092e0d3a cli_wallet: Expose network_node API 2015-09-02 14:56:48 -04:00
Daniel Larimer
e450861166 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-02 12:18:03 -04:00
Daniel Larimer
b67e308464 updating submodule 2015-09-02 12:17:59 -04:00
Eric Frias
d35e2d6d4e reorder the p2p network's terminate_inactive_connections_loop() to prevent us
from being interrupted before we delete an unresponsive peer #288
2015-09-02 12:15:02 -04:00
Eric Frias
dd04bab521 Fix compile errors, win32 and otherwise 2015-09-02 09:48:17 -04:00
Daniel Larimer
195373210a Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-02 09:03:26 -04:00
Daniel Larimer
96a20bbd35 adding extra test of fork db 2015-09-02 09:03:04 -04:00
theoreticalbts
00a2d2dac7 Revert "Fix log issue in witness.cpp block_production_loop"
This reverts commit c9fbc8a411.
Updated version of fc is published, so this fix is no longer necessary.
2015-09-01 16:33:18 -04:00
theoreticalbts
b0fd510d51 cli_wallet: Print signing_key in base58 2015-09-01 16:33:11 -04:00
theoreticalbts
2dedebdca8 witness.cpp: Don't filter witnesses prematurely
If invalid witness ID's or keys are specified in the config file,
we simply don't produce until they become valid.
2015-09-01 16:21:37 -04:00
theoreticalbts
efac97e060 cli_wallet: Implement withdrawal for vesting balance objects #286 2015-09-01 16:21:35 -04:00
theoreticalbts
2f88cc86ba cli_wallet: Implement update_witness command #282 2015-09-01 16:21:33 -04:00
Daniel Larimer
fb8d17bb4b max block re-ordering increase 2015-09-01 08:57:42 -04:00
Daniel Larimer
0abd6a699b Merge pull request #285 from abitmore/patch-1
Fix log issue in witness.cpp block_production_loop
2015-09-01 08:52:01 -04:00
abitmore
c9fbc8a411 Fix log issue in witness.cpp block_production_loop 2015-09-01 13:05:02 +02:00
theoreticalbts
687aa7253e witness.cpp: Add a little logging on startup 2015-08-31 17:26:03 -04:00
theoreticalbts
8ad1a12149 db_witness_schedule.cpp: Give best_wit a default value of GRAPHENE_NULL_WITNESS #274 2015-08-31 17:26:03 -04:00
theoreticalbts
c14494fb68 time: Make timer use fc::time_point instead of fc::time_point_sec so witness plugin can control quantization 2015-08-31 17:26:03 -04:00
theoreticalbts
dd9dbca38c Reserve witness ID 0 2015-08-31 17:26:03 -04:00
theoreticalbts
b236d46027 witness.cpp: Simplify block production loop 2015-08-31 17:26:03 -04:00
theoreticalbts
5a923697ad genesis_util: Implement utility for updating keys of genesis.json witnesses / testnet dev accounts 2015-08-31 17:26:03 -04:00
theoreticalbts
9b4e270bc4 witness_node: Implement --genesis-timestamp command line parameter 2015-08-31 17:26:03 -04:00
theoreticalbts
f63cbe4868 application.cpp: Fix compiler warning 2015-08-31 17:26:03 -04:00
theoreticalbts
2a891ac89b Revert "adding fix for edge case"
This reverts commit 3f1b9bbb27.
2015-08-31 12:50:45 -04:00
Daniel Larimer
42fb233fbb Merge branch 'master' of github.com:cryptonomex/graphene 2015-08-31 12:18:48 -04:00
Daniel Larimer
3f1b9bbb27 adding fix for edge case 2015-08-31 12:18:45 -04:00
Vikram Rajkumar
cc106f21ab Merge pull request #275 from MatzFan/master
fix broken link
2015-08-28 15:32:26 -04:00
Bruce Steedman
92340a48a2 fix broken link 2015-08-28 20:08:40 +01:00
Daniel Larimer
c1b5eb95e1 update subscriptions to work with keys 2015-08-28 13:58:49 -04:00
theoreticalbts
a23e2ec3fe cli_wallet: Include block_id and signed_by in get_block API result #253 2015-08-28 00:19:45 -04:00
theoreticalbts
823adbbed5 generate_empty_blocks: Create binary to generate many blocks for testing 2015-08-27 16:42:23 -04:00
theoreticalbts
40fce42421 db_witness_schedule.cpp: Fix min_witness_separation computation (again) 2015-08-27 16:42:07 -04:00
theoreticalbts
363a7fbeb1 embed_genesis: Update program name in status messages 2015-08-27 15:23:18 -04:00
Daniel Larimer
2a494d9de0 Merge branch 'witness_schedule_refactor'
Also fix object_id addition
2015-08-27 11:33:42 -04:00