Commit graph

692 commits

Author SHA1 Message Date
Daniel Larimer
2f0065d593 genesis file specifies 101 min 2015-08-20 13:23:25 -04:00
Daniel Larimer
714261b02a merging changes 2015-08-20 08:49:18 -04:00
Daniel Larimer
8a9120e517 increasing the default minimum number of witnesses to 101 for testing 2015-08-20 08:47:38 -04:00
James Calfee
7332797b76 Updated witness command in README.md 2015-08-20 06:30:13 -05:00
Nathan Hourt
eeeab17477 Polish out-of-order-block handling, write test case 2015-08-19 13:07:13 -04:00
Nathan Hourt
9c0c588ed6 [FWN] Remove deprecated scheduling code 2015-08-19 11:40:45 -04:00
Nathan Hourt
3a9d0df75c [FWN] Create privileged API login for web UI
This resolves #249
2015-08-19 11:40:31 -04:00
Nathan Hourt
5fbff6cf52 Resolve #238: Light client now fetches chain_id from chain_properties 2015-08-19 10:23:06 -04:00
Daniel Larimer
15c99bd65b Address #247 - out-of-order blocks in fork db
- with this change the fork database now caches blocks that do not link
 and attempts to link the unlinked blocks after every new block is
 successfully linked.

 - with this change the fork database only tracks blocks as far back as
 the undo history allows.  This significantly reduces memory usage when
 there is high witness participation.
2015-08-19 09:47:10 -04:00
Daniel Larimer
7e42d4b3e8 Fix #242 - witness node crash
Rather than using futures and waiting in the destructor, the APIs now
use enable_shared_from_this and the lambda captures a shared pointer to
the API to prevent it from going out of scope.  As a result the
destructor can not be called while there is a pending async operation
which removes the need to wait in the destructor and thereby removing
the potential for an exception to be thrown causing this crash.
2015-08-18 11:36:50 -04:00
Daniel Larimer
aa38feef62 Merge branch 'master' of github.com:cryptonomex/graphene 2015-08-18 11:09:08 -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
Daniel Larimer
80f007faeb Fix #224 - 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:03:44 -04:00
Daniel Larimer
d5cc6da54a adding proposed transactons to the result of get_full_account 2015-08-18 10:50:06 -04:00
Vikram Rajkumar
9c2af06cc6 Fix Linux build 2015-08-17 17:09:19 -04:00
Vikram Rajkumar
383db4c473 Save more values for testnet genesis 2015-08-17 16:46:55 -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
Nathan Hourt
2244e467ed Fix whitespace 2015-08-17 16:38:55 -04:00
theoreticalbts
2212cfe95b config.hpp: Remove unused constants GRAPHENE_DEFAULT_NUM_WITNESSES, GRAPHENE_DEFAULT_NUM_COMMITTEE 2015-08-17 15:21:55 -04:00
theoreticalbts
4ecdea1ce2 Move min_witness_count and min_committee_member_count from config.hpp to chain_properties #235 2015-08-17 15:21:55 -04:00
theoreticalbts
a888c81ac4 worker_evaluator.hpp: Explicitly cast types in signed subtraction 2015-08-17 15:21:55 -04:00
theoreticalbts
29b7f343a6 Remove chain_id from global_property_object 2015-08-17 15:21:55 -04:00
Vikram Rajkumar
73cc012db9 Allow restarting block production with dummy checkpoint 2015-08-17 13:56:59 -04:00
theoreticalbts
3a7e65c888 chain_property_object: Implement chain_property_object as container for unchangeable properties set at genesis #238 2015-08-17 13:38:35 -04:00
Eric Frias
ab7fcb9b4a Win32 build fixes 2015-08-17 12:39:26 -04:00
Daniel Larimer
bf47a1610c Merge branch 'master' of github.com:cryptonomex/graphene 2015-08-14 17:56:27 -04:00
Daniel Larimer
c0c36ca639 votable objects now keep track of their most recent vote count 2015-08-14 17:56:21 -04:00
Vikram Rajkumar
be55df25d0 Initial work on BTS1 key import in CLI wallet 2015-08-14 17:06:29 -04:00
Nathan Hourt
03175707ff [FWN] Serve web from QRC instead of HTTP 2015-08-14 16:22:21 -04:00
Nathan Hourt
50b460f215 [FWN] Fix improper initialization of plugins 2015-08-14 15:52:25 -04:00
Nathan Hourt
4f19667fe3 [FWN] Embed web UI into binary 2015-08-14 15:28:24 -04:00
Nathan Hourt
f3a044d963 [FWN] It seems to work now... 2015-08-14 15:28:24 -04:00
Vikram Rajkumar
d324a78809 Update BTS1 key import format 2015-08-14 12:43:12 -04:00
Vikram Rajkumar
1b38a4f86e Add test vesting balances to copy into testnet genesis 2015-08-14 12:34:04 -04:00
Vikram Rajkumar
1d633a508a Update submodules 2015-08-14 12:26:09 -04:00
theoreticalbts
7c579f22d3 fee_tests.cpp: Check fee after every block in account_create_fee_scaling test 2015-08-13 14:37:56 -04:00
theoreticalbts
e6116c466f Move account_create_fee_scaling test from fee_tests to block_tests 2015-08-13 14:29:51 -04:00
theoreticalbts
ce624827f6 Include smart_ref_impl.hpp when dereferencing smart_ref #231 2015-08-13 14:28:54 -04:00
Daniel Larimer
25ceb9a277 return vote objects with full_account query 2015-08-13 09:29:16 -04:00
Daniel Larimer
80602a1f7b adding api to query vote objects by id 2015-08-13 09:22:05 -04:00
theoreticalbts
4e1f38d8d9 api_stress.py: Implement simple stress testing of API 2015-08-12 16:52:30 -04:00
Nathan Hourt
4906882895 [FWN] Start full node and listen on 8090
Not yet working, but it's progress!
2015-08-12 15:47:04 -04:00
Nathan Hourt
de8ccf0ea4 [FWN] Create BlockChain class 2015-08-12 15:47:03 -04:00
Nathan Hourt
8fc1ac736b Add new full_web_node target
This will eventually run a full node complete with bundled web GUI
2015-08-12 15:47:03 -04:00
theoreticalbts
96fb8f60c2 fee_tests.cpp: Make sure validation actually enforces nonzero fees 2015-08-12 14:26:48 -04:00
theoreticalbts
dffd010e8a Implement and expose get_config() to allow API access to compile constants #229 2015-08-11 15:22:12 -04:00
theoreticalbts
f6c99f96b7 genesis_state.hpp: Specify definite size for initial_active_witnesses 2015-08-11 15:22:12 -04:00
theoreticalbts
3eedabbac2 Compute scaled precision at compile time, use in tests (fixes failures by prev commit) 2015-08-11 15:04:48 -04:00
theoreticalbts
44c174ad4a config.hpp: Remove CORE constant 2015-08-11 13:14:57 -04:00