Commit graph

71 commits

Author SHA1 Message Date
Daniel Larimer
246459af3f removing print statement 2015-09-28 12:18:58 -04:00
Eric Frias
d01fc0ac44 Allow delayed-node plugin options to be set on conmmand line (in
addition to in config file) like most other plugins
2015-09-24 12:04:44 -04:00
Daniel Larimer
0ba1154e6e comment out logging spam 2015-09-22 16:50:45 -04:00
Daniel Larimer
26007bb655 update shuffling algorithm 2015-09-18 13:42:12 -04:00
Daniel Larimer
465280fbcb Improved Logging, track blocks missed by witnesses 2015-09-18 09:13:17 -04:00
Daniel Larimer
f506c2b089 better debugging messages around crashes 2015-09-15 08:38:27 -04:00
Daniel Larimer
127ac7f3de add api to query worker state 2015-09-11 17:47:27 -04:00
theoreticalbts
e1530709d9 witness.cpp: Set skip_undo_history_check when --enable-stale-production is specified 2015-09-10 15:41:43 -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
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
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
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
9b4e270bc4 witness_node: Implement --genesis-timestamp command line parameter 2015-08-31 17:26:03 -04:00
Daniel Larimer
2a494d9de0 Merge branch 'witness_schedule_refactor'
Also fix object_id addition
2015-08-27 11:33:42 -04:00
theoreticalbts
4a350a5c0c Initialize recently_missed_count to 0 if slots were missed at genesis 2015-08-26 19:06:54 -04:00
Daniel Larimer
12cd23df57 Merge branch 'witness_schedule_refactor' of github.com:cryptonomex/graphene into witness_schedule_refactor 2015-08-26 18:36:36 -04:00
Daniel Larimer
e5106c15a3 update subscribe callback 2015-08-26 18:01:48 -04:00
theoreticalbts
dcc4f8076b database.hpp: Simplify get_scheduled_witness() return value 2015-08-26 15:36:26 -04:00
theoreticalbts
30296d9c36 database.hpp: Simplify get_scheduled_witness() return value 2015-08-25 17:59:15 -04:00
Daniel Larimer
437a112a66 Fix #244 - Improve log messages
- it is not an error to have the next slot be in the future, it happens
every maitenance interval when the skip slots is greater than 0.

- re-order the failure conditions to report configuration issues first,
   then other issues second.
2015-08-18 11:06:40 -04:00
Vikram Rajkumar
9c2af06cc6 Fix Linux build 2015-08-17 17:09:19 -04:00
Nathan Hourt
5aa884c574 #237: Create new delayed_node app
Delayed node is much like witness_node, except it doesn't have support
for block productuion (thus cannot be a witness) and it is not intended
to use the P2P network. The delayed node requires a trusted node it can
connect to via RPC and download blocks from. The delayed node will only
download blocks from the trusted node if those blocks have received a
configurable number of confirmations.

This commit effectively resolves #237
2015-08-17 16:38:55 -04:00
Nathan Hourt
baf6bfc17b Progress #237: Begin work on delayed_node_plugin 2015-08-17 16:38:55 -04:00
theoreticalbts
c7444f8d4d Implement minimal "make install" command #219 2015-08-06 12:40:53 -04:00
theoreticalbts
9dfb0d9650 Refactor impacted_accounts into app #183 2015-07-30 12:38:59 -04:00
Daniel Larimer
f371f98cd4 Fix #203 - market history plugin config supports multiple buckets 2015-07-27 08:19:27 -04:00
Daniel Larimer
dffc83cca9 Refactor full account subscriptions
When subscribing to an account via the get_full_account API it will
start streaming any object relevant to the account that is added,
removed, or modified.
2015-07-21 15:19:52 -04:00
Vikram Rajkumar
d0b8c66aad Fix Linux Clang build with missing includes; resolve #174 2015-07-20 14:57:08 -04:00
Vikram Rajkumar
04392d3598 Fix witness production with 1 second block intervals 2015-07-14 15:23:55 -04:00
theoreticalbts
c019f18bd4 Implement recent_slots_filled and use it to measure witness participation 2015-07-13 17:02:00 -04:00
Vikram Rajkumar
6043586d15 Rename bad references to delegate -> witness; #147 2015-07-13 16:08:17 -04:00
Daniel Larimer
a05d88b044 Fix #151 - Witnesses do not produce consecutively
- added an option (on by default) to prevent a witness from signing two
 blocks in a row because this most likely indicates they have been cut
 off from the network.

 - added an option where a witness will not produce a block if the
 witness participation rate is below a configurable threshold (default
                                                               to 33%)
2015-07-13 09:47:03 -04:00
Nathan Hourt
0f6e5a74cd Progress #148: early implementation of solution 2
Needs testing in all the different scenarios, but we no longer fail to
start when resyncing.
2015-07-10 14:17:16 -04:00
Daniel Larimer
fdcf821c41 Progress on #144 - refactoring fee schedule 2015-07-08 18:45:53 -04:00
Daniel Larimer
b1dd41ff3a Refactor get_required_auths on operations 2015-07-07 10:57:01 -04:00
Nathan Hourt
6ab59f63a7 Resolve #133: allow creation of example genesis json 2015-07-06 14:00:39 -04:00
Daniel Larimer
871aa734ae Update documentation and fix error messages, Fix #127 2015-07-02 12:11:43 -04:00
Daniel Larimer
fefa0f65f8 Issue #106 - Removing KeyObject
- this is a major refactor of the code and may have broken some behavior
in the wallet or witness nodes.
- this commit changes the serialization of operations
- the chain_tests pass
2015-07-02 01:52:45 -04:00
Daniel Larimer
bb71e1933b Implement #103 - Override Transfers by Issuer 2015-07-01 16:21:18 -04:00
Daniel Larimer
2257e5da6c #108 Rename Burn to Reserve 2015-07-01 14:43:17 -04:00
Eric Frias
9856d5e8fd Fix CLI commands for creating witnesses, add commands for listing
witnesses, registering witness url.
Derive memo, witness, etc. keys from the active key.
Make witness_create_operation accept relative key identifiers.
Prevent wif_to_key from throwing on invalid base58 input.
Make witness_node accept witness keys in WIF format.
2015-06-30 17:54:19 -04:00
Daniel Larimer
ede41d6f99 fix warning, add debug for svk 2015-06-30 17:34:46 -04:00
Daniel Larimer
d3391c0fe5 #98 Implement Balance Object and Evaluator 2015-06-27 11:49:41 -04:00
Daniel Larimer
16e90c53ac #47 Fixing bucket_object serialization 2015-06-25 15:06:10 -04:00
Daniel Larimer
88aeaa5e69 #47 Fix bug with not initializing base volume 2015-06-25 09:47:56 -04:00
Daniel Larimer
a518c37c9e adding wallet api to return the market history 2015-06-25 09:38:31 -04:00
Daniel Larimer
a0765e2cf2 Removing unnecessary indexing from account history plugin, it can now focus on just tracking operation history 2015-06-24 16:38:56 -04:00