Daniel Larimer
8d0409e524
Ground work for new p2p protocol
2015-08-21 18:44:32 -04:00
theoreticalbts
5b3d7d2149
block_database.cpp: Special-case to return false when contains() is passed all-zeros block_id #260
2015-08-21 13:18:52 -04:00
theoreticalbts
a5850bdb91
fork_database.cpp: Update is_known_block and fetch_block to also look in unlinked_index
2015-08-21 13:17:46 -04:00
theoreticalbts
32b18f6c20
block_database.cpp: Argument validation and logging in store() and fetch_block_id()
2015-08-21 13:16:36 -04:00
theoreticalbts
6372b25dea
cli_wallet: Expose get_private_key()
2015-08-20 18:49:15 -04:00
Daniel Larimer
4228360409
adding extra indexing of accounts by address auths
2015-08-20 15:19:15 -04:00
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
Nathan Hourt
eeeab17477
Polish out-of-order-block handling, write test case
2015-08-19 13:07:13 -04:00
Nathan Hourt
3a9d0df75c
[FWN] Create privileged API login for web UI
...
This resolves #249
2015-08-19 11:40:31 -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
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
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
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
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
1d633a508a
Update submodules
2015-08-14 12:26:09 -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
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
Nathan Hourt
a4e5a03973
Resolve #161 : Fix account creation fee scaling
2015-08-10 16:39:09 -04:00
Vikram Rajkumar
84078831e9
Update submodules; #226
2015-08-10 13:14:25 -04:00
theoreticalbts
f6a13a19f0
wallet.cpp: Put chain_id in wallet_data
2015-08-07 16:45:53 -04:00
theoreticalbts
4d8033443c
application.cpp: Use egenesis instead of create_example_genesis()
2015-08-07 16:45:53 -04:00
theoreticalbts
fa5bbb830f
Revert "fix egenesis build by removing it until theretical can fix it"
...
This reverts commit 274682d431 .
2015-08-06 14:53:32 -04:00
theoreticalbts
b8828e52da
fc: Add missing read_file_contents() function
2015-08-06 14:50:30 -04:00
Daniel Larimer
274682d431
fix egenesis build by removing it until theretical can fix it
2015-08-06 14:46:56 -04:00
Daniel Larimer
23f485e66f
fix build
2015-08-06 14:33:34 -04:00
Daniel Larimer
b6385e2117
Adding API call: get_potential_signatures
...
This call allows wallets to filter the set of keys that may potentially
sign a transaction prior to calling get_required_signatures to get the
minimum subset.
2015-08-06 13:43:18 -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
theoreticalbts
9f9c1e7895
egenesis: Initial implementation of embedded genesis
2015-08-06 12:42:59 -04:00
theoreticalbts
4e3a27156e
genesis_state.hpp: Fix missing include
2015-08-06 12:40:53 -04:00
theoreticalbts
c6debcd59c
transaction.cpp: Remove no-op
2015-08-06 12:40:53 -04:00
theoreticalbts
c7444f8d4d
Implement minimal "make install" command #219
2015-08-06 12:40:53 -04:00
Daniel Larimer
39c05a0b2e
adding method to get account by name
2015-08-03 16:22:19 -04:00
Nathan Hourt
99d6450473
[GUI] Implement transaction broadcasting
...
Still need to set expiration, so none of the transactions I broadcast
work yet... :( Sadly there is no testnet so I can't finish this. Oh well.
I'm sure it'll be much easier on Monday.
2015-07-31 17:56:27 -04:00
Vikram Rajkumar
8a8130f620
Fix genesis init bug; #17
2015-07-31 16:06:26 -04:00
Daniel Larimer
87d3d1a198
Update API and remove SPAM
...
subscribe_to_objects now returns the initial value of the objects, this
makes it easy for someone to fetch and subscribe in a single atomic step
rather than having to call get and then subscribe which could lead to
some inconsistencies if the object was modified after get but before
subscribe.
2015-07-31 09:53:49 -04:00
Daniel Larimer
39c99fd0a7
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-30 16:45:18 -04:00
Daniel Larimer
1b260ab37a
adding spam to detect bugs
2015-07-30 16:45:14 -04:00
theoreticalbts
9dfb0d9650
Refactor impacted_accounts into app #183
2015-07-30 12:38:59 -04:00
Daniel Larimer
8b0a22d849
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-30 09:20:51 -04:00
Daniel Larimer
15bcd5e2a7
optionally subscribe to full account
2015-07-30 09:20:49 -04:00
Nathan Hourt
82ea3c1edd
[GUI] Add transaction signing
...
TODO: encrypt the memo (some work to facilitate this is done in this
commit)
2015-07-29 17:56:37 -04:00
Vikram Rajkumar
4d05f09613
Update submodules
2015-07-29 13:53:21 -04:00
theoreticalbts
1b5a7cb213
Implement max_auth_exceeded exception, internal exc framework, small refactor
...
Refactor tasks:
- Delete obsolete, commented-out implementation of verify_authority
- Make verify_authority_accounts an implementation detail of account_evaluator.cpp
- Create internal_exception macros / header
- Implement max_auth_exceeded and auth_account_not_found exceptions
2015-07-28 17:10:52 -04:00
theoreticalbts
35ab119b26
Fix throwing incorrect exception type
2015-07-28 17:10:52 -04:00
theoreticalbts
36e155bc0c
Implement tx_duplicate_sig exception, fix committee_authority test
2015-07-28 17:10:52 -04:00
theoreticalbts
54103da9a8
Implement tx_irrelevant_sig exception, fix assert_op_test
2015-07-28 17:10:52 -04:00
theoreticalbts
5b9cd9122e
Implement skip_slots
2015-07-28 11:58:22 -04:00
theoreticalbts
66c8cedf52
db_block.cpp: Assert legal slot_num in generate_block() to match header validation assert
2015-07-28 11:58:22 -04:00
theoreticalbts
0d0be55e10
db_witness_schedule.cpp: Implement genesis as special case in get_slot_time()
2015-07-28 11:58:22 -04:00
theoreticalbts
f80219fd52
Implement maintenance_flag in dynamic_global_properties
2015-07-28 11:58:22 -04:00
Daniel Larimer
fa9b71a463
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-27 17:50:24 -04:00
Daniel Larimer
86564e2a1b
Resolve #207 Add API to get required fees.
2015-07-27 17:50:02 -04:00
Nathan Hourt
5d7ae4e6a8
[GUI] More work to support transactions
...
- Refactor GUI with FormBase.qml
- Fix memo handling in TransferOperation
- Add TransactionConfirmationForm.qml which will eventually display a
transaction for confirmation
2015-07-27 16:01:22 -04:00
Eric Frias
6d2b1a3648
Win32 compile fixes (missing includes, workaround for bugs in c++ parser)
2015-07-27 12:09:34 -04:00
Daniel Larimer
619e8dd3a7
updating fc with tap complete for cli wallet
2015-07-27 09:11:45 -04:00
Daniel Larimer
f371f98cd4
Fix #203 - market history plugin config supports multiple buckets
2015-07-27 08:19:27 -04:00
Daniel Larimer
662dd04e45
Fix #206 , adding api to return available vesting balance
2015-07-24 17:28:58 -04:00
Daniel Larimer
7e142eb4d6
Wallet Blind Transfer Implementation
...
Improve Pretty Printing of Operations
Fix bug preventing wallet from being unlocked after saving while locked.
Transfer from public to blind
Transfer from blind to blind
Transfer from blind to public
Blind Account History
2015-07-24 17:02:06 -04:00
Daniel Larimer
e4ff106cd4
Partial Wallet support for Blind Transfers
...
public->blind
blind->blind
TODO: blind->public
2015-07-24 11:37:37 -04:00
Daniel Larimer
c740d2b3c8
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-23 18:47:32 -04:00
Daniel Larimer
57ca0c0e39
Wallet Support for Some Confidential Transactions
...
Support public account to blinded balance
Support receiving blinded balance given confirmation
Implement but not test blind to blind transfers.
2015-07-23 18:46:06 -04:00
theoreticalbts
430bbe42ab
database.hpp: Make open() non-templated, move implementation out of header
2015-07-23 16:41:17 -04:00
Vikram Rajkumar
5d3bd282c8
Try to fix linking error; #202
2015-07-23 15:09:38 -04:00
Vikram Rajkumar
6be71b2975
Update fc submodule
2015-07-23 15:07:03 -04:00
Daniel Larimer
efe948ceaf
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-23 14:17:24 -04:00
Daniel Larimer
2aac4839ed
partial work on blinded balances in cli wallet
2015-07-23 13:57:18 -04:00
theoreticalbts
dab74132f2
CMakeLists.txt: Reorder so database is first to build
2015-07-23 13:37:06 -04:00
theoreticalbts
cd6b574141
types.hpp: Move voting stuff to separate header
2015-07-23 13:37:06 -04:00
Vikram Rajkumar
590f10a382
Add BTS1 key import format
2015-07-23 11:57:50 -04:00
Vikram Rajkumar
c4fa9de1f8
Fix build
2015-07-23 11:53:36 -04:00
Vikram Rajkumar
af3b7dd344
Unrevert fc submodule
2015-07-23 11:53:36 -04:00
Vikram Rajkumar
c14ac442f5
Simplify genesis state; #17
2015-07-23 11:53:36 -04:00
Daniel Larimer
36ba2e1d45
integrate wallet with GrapheneApplication and Account
2015-07-23 10:56:07 -04:00
Daniel Larimer
0911bb605c
Implement Wallet.hpp API
2015-07-23 09:32:29 -04:00
Daniel Larimer
c9688ae051
Fix #200 Fee Schedule is now validated when chain_paramters are validated
2015-07-22 18:40:12 -04:00
Nathan Hourt
bfa3e71393
Add return value to transaction::visit
2015-07-22 17:38:48 -04:00
theoreticalbts
44e7a8cb46
transaction.cpp: Make depth parameter uint32_t, silence compiler warning
2015-07-22 17:13:45 -04:00
theoreticalbts
83c8b4c5f9
transaction.cpp: Implement minimize_required_signatures and nonminimal_sig_test
2015-07-22 17:13:45 -04:00
Daniel Larimer
6f19268ffd
Merge branch 'confidential'
2015-07-22 16:24:07 -04:00
theoreticalbts
9b6998af6d
config.hpp: Increase GRAPHENE_MIN_ACCOUNT_NAME_LENGTH to 3
...
Length requirement is enforced by RFC 1035 grammar. Use a compiler
error to tell anyone changing config.hpp that any value for this
constant smaller than 3 is unsupported by the implementation.
2015-07-22 16:01:14 -04:00
theoreticalbts
de435d9d51
whitespace fixes
2015-07-22 16:01:13 -04:00
Daniel Larimer
be65c277c9
Implement and Test Confidential Transactions
...
This checkin contains a fully functional confidential transaction
integration with passing unit tests.
2015-07-22 14:45:13 -04:00
theoreticalbts
3e5d3495e1
Remove some dead code
2015-07-22 13:18:09 -04:00
Nathan Hourt
3196eb75a7
Fixes
2015-07-22 13:17:49 -04:00
Nathan Hourt
63222183cd
Resolve #146 in fc
2015-07-22 12:11:49 -04:00
Nathan Hourt
81d2679db9
Cut back on log spam during resyncing
2015-07-22 11:17:30 -04:00
Nathan Hourt
9a3a6a5234
Set core asset issuer to null account
...
No one should be able to interfere with the behavior of core asset, so
codify this.
2015-07-22 10:09:07 -04:00
Nathan Hourt
ce84de41be
[GUI] Fix object update notification handling
2015-07-21 17:56:52 -04:00
theoreticalbts
d343a71c56
asset_evaluator.cpp: Enforce issuer permissions #176
2015-07-21 16:07:14 -04:00
Daniel Larimer
3e41f726a7
Issue #45 Market Subscription Standardization
...
When subscribing to markets the callback will now receive something that
looks like this:
[ "REMOVED ID1", "REMOVED ID2", ...,
{ "id": "UPDATED ID3", data... },
{ "id": "UPDATED ID4", data... },
...
[ FILL_OPERATION_TYPE_ID, { fill order operation data } ],
[ FILL_OPERATION_TYPE_ID, { fill order operation data } ],
[ FILL_OPERATION_TYPE_ID, { fill order operation data } ],
[ FILL_OPERATION_TYPE_ID, { fill order operation data } ]
]
When ever an order is removed from the order book, its ID will be
included as a string. When an order is modified the new order data is included as
an object. And the operations describing how orders were matched and
what fees are paid will be included as an operation, aka array.
Also added means to unsubscribe from full account data (issue #166 )
2015-07-21 15:51:22 -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
Daniel Larimer
b3d299d241
#170 Make sure accounts cannot be updated with impossible auhtority settings
2015-07-21 09:23:14 -04:00
Daniel Larimer
a55b348e6c
#170 Make sure TEMP ACCOUNT cannot be updated
2015-07-21 08:34:38 -04:00
Daniel Larimer
c77cb49cc2
adding new API calls that can be used to check required signatures on transactions
2015-07-20 18:27:09 -04:00
Vikram Rajkumar
d0b8c66aad
Fix Linux Clang build with missing includes; resolve #174
2015-07-20 14:57:08 -04:00
Daniel Larimer
e4c29cbe78
#166 Define type-safe API for get_full_account()
2015-07-17 22:58:36 -04:00
Daniel Larimer
517ea70c95
#169 - Removing Bulk Discounts
2015-07-17 22:07:07 -04:00
theoreticalbts
c67acc0cf5
uia_tests.cpp: Implement transfer_restricted_test
2015-07-17 20:48:49 -04:00
Eric Frias
7388a85cf2
Prevent the wallet from generating duplicate transactions when you
...
execute the same command twice in quick succession, Fix #165
2015-07-17 17:29:04 -04:00
Nathan Hourt
0fe9276c44
[GUI] Refactor ClientDataModel, implement account balances
2015-07-17 16:06:39 -04:00
theoreticalbts
d52461b77b
operation_tests.cpp: Implement reserve_asset_test
2015-07-17 15:54:18 -04:00
Daniel Larimer
46fae5cbbf
make max authority check depth configurable by delegates
2015-07-17 09:41:08 -04:00
Daniel Larimer
2492df752d
Merge branch 'auth_refactor'
2015-07-17 01:02:29 -04:00
Daniel Larimer
8c6e0b9e55
Refactor Authority Checking
...
transaction_evaluation_state no longer tracks authority validation.
Authority validation is now compeltely independent of the database.
2015-07-17 00:41:43 -04:00
Daniel Larimer
b08b6cb553
Partial work toward auth refactor
2015-07-16 18:13:11 -04:00
Nathan Hourt
723b11533b
Progress #166 : Initial implementation of get_full_accounts API call
2015-07-16 17:04:35 -04:00
Daniel Larimer
dc8849f23b
Active key is not required when owner key present
...
- when updating account there is no need to sign with the active key if
the owner has signed.
- when updating an account the active key is enough to update the
active key.
2015-07-16 16:09:32 -04:00
theoreticalbts
3cdcf5139f
market_evaluator.cpp: Fix call_order_update_evaluator exception logic
2015-07-16 15:32:58 -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
Daniel Larimer
8ff2c94c52
Update API to address #164
2015-07-16 14:28:23 -04:00
Vikram Rajkumar
46f35d0f89
Fix witness block production failure on block 1; resolve #163
2015-07-16 13:46:17 -04:00
Vikram Rajkumar
d9855f9023
Clean up some TODOs; #77
2015-07-15 18:15:41 -04:00
Nathan Hourt
b433f90a55
[GUI] Use assets and balances in transfer form
2015-07-15 17:55:16 -04:00
theoreticalbts
2ec17e2254
wallet.cpp: Use reflection in get_prototype_operation()
2015-07-15 17:52:57 -04:00
theoreticalbts
a4496eccb8
Fix #162 by adding an active authority to tests that use account_create_op directly
2015-07-15 17:22:47 -04:00
theoreticalbts
8aa048661f
Remove unused undo_block and undo_transaction skip flags
2015-07-15 17:09:53 -04:00
Eric Frias
b6a5119226
Allow using hostnames for seed nodes
2015-07-15 15:48:01 -04:00
Eric Frias
8944facd41
Fix signed/unsigned mismatch warning
2015-07-15 14:53:43 -04:00
Daniel Larimer
9671a92c43
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-15 14:18:32 -04:00
Daniel Larimer
7f54d3d077
Issue #160 - Dynamic Undo History / Minority Fork
...
The blockchain now has a minimal participation requirement that can only
be overridden with checkpoints. Any time participation falls below a
minimal level no new blocks may be added.
Currently it requires 66% participation and tolerates short periods of
time below 66% participation with a maximum of 500 consecutive blocks
missed. For every two blocks produced 1 can be missed with a slack of
999 bias.
2015-07-15 14:13:24 -04:00
theoreticalbts
a751d90e00
Move witness pay to VBO, update test #142
2015-07-15 12:36:26 -04:00
Daniel Larimer
e5f8d0f548
removing unecessary field
2015-07-14 18:50:03 -04:00
Daniel Larimer
cfa95a3f57
Issue #157 - make trx expiration absolute
...
This is done to comply with the policy that transactions should be self
describing and not depend upon implied state. This makes things easier
for everyone to understand exactly when a transaction will be invalid
without having to refer to chain state.
2015-07-14 18:46:58 -04:00
Daniel Larimer
da254cdbff
Fix #158 - block summary database now only has 2^16 entries
2015-07-14 17:56:42 -04:00
Daniel Larimer
b9f6ee4f2c
adding asset fetching
2015-07-14 17:36:18 -04:00
Daniel Larimer
d1c3c7a698
Issue #157 - TAPOS Refinements
...
1. Implement a TaPoS assert operation predicate that offers full block ID
validation for transactions that want the added security. This is only
required for transactions that are of high value and transfer control of
funds to a newly created identifier and where the witnesses cannot be
trusted.
2. Remove the full block ID from the transaction digest generation.
2015-07-14 17:28:26 -04:00
Vikram Rajkumar
04392d3598
Fix witness production with 1 second block intervals
2015-07-14 15:23:55 -04:00
Eric Frias
2f97a84cb2
Update fc submodule to fix win32 builds
2015-07-14 10:49:45 -04:00
Daniel Larimer
98e761c9c2
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-13 17:24:29 -04:00
theoreticalbts
c019f18bd4
Implement recent_slots_filled and use it to measure witness participation
2015-07-13 17:02:00 -04:00
theoreticalbts
78f0cfa5cc
account_evaluator.cpp: Remove unused global_property_object
2015-07-13 16:48:16 -04:00
Daniel Larimer
0beeac94aa
Merge branch 'master' of github.com:cryptonomex/graphene
2015-07-13 16:23:22 -04:00
Daniel Larimer
8faec763c8
Names must now be unique.
2015-07-13 16:23:12 -04:00
Vikram Rajkumar
2f429e07f1
Rename bad references to delegate -> committee member; #147
2015-07-13 16:08:17 -04:00
Vikram Rajkumar
6043586d15
Rename bad references to delegate -> witness; #147
2015-07-13 16:08:17 -04:00
Vikram Rajkumar
70b77be3bc
Rename bad references to genesis account -> committee account; #147
2015-07-13 16:08:16 -04:00
Vikram Rajkumar
12d8f3732e
Minor
2015-07-13 16:08:16 -04:00
Vikram Rajkumar
cc300937c7
Update submodules
2015-07-13 16:08:16 -04:00
theoreticalbts
e876c5fb81
Organize temporary files under GRAPHENE_TEMPDIR (or /tmp/graphene-tmp if undefined)
2015-07-13 15:15:55 -04:00
theoreticalbts
eb4f39e78c
wallet.cpp: Set correct expiration in register_account
2015-07-13 12:33:52 -04:00
theoreticalbts
38c68e1f5d
wallet.cpp: Implement suggest_brain_key
2015-07-13 12:33:52 -04:00
theoreticalbts
e201e59b3d
Define GRAPHENE_MIN_BLOCK_INTERVAL and use it to fix minimum_time_of_last_offered_block logic #154
2015-07-13 12:33:52 -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
Daniel Larimer
068e579a5f
Update error message for #156
...
Made the error more human friendly.
2015-07-13 08:23:51 -04:00
Daniel Larimer
e8d2b45d67
improve authority checking performance, adding automatic transaction signing helpers
2015-07-10 15:56:44 -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
c0da987b02
This file is no longer needed!
2015-07-10 14:08:31 -04:00
Eric Frias
8245b18c98
Win32 compile fixes
2015-07-10 11:55:12 -04:00
Daniel Larimer
49937daeb8
Rename delegate_signature->witness_signature #147
...
- changed secret hash of block headers from 224 to 160 to save 16 bytes
per header which will add up to 1 MB per day in savings.
2015-07-09 18:11:52 -04:00
Daniel Larimer
a799f064d4
Adding extension points #141
2015-07-09 17:29:30 -04:00
Daniel Larimer
04b8820b3b
Merge branch 'master' into fee_refactor
2015-07-09 16:34:56 -04:00
Daniel Larimer
10bd652168
fix uia_transfer test, update transfer error messages
2015-07-09 16:21:40 -04:00
Daniel Larimer
014e6e7b79
fix uia_fees test
2015-07-09 16:05:57 -04:00
Daniel Larimer
9e150df605
Fix withdraw_witness_pay test
2015-07-09 15:55:10 -04:00
Daniel Larimer
48797c6e93
updating error messages
2015-07-09 15:40:19 -04:00
Daniel Larimer
1fbdbc50e0
fix balance claim authority requirements
2015-07-09 15:28:39 -04:00
Daniel Larimer
a164fbe8fa
fix proposal authority
2015-07-09 15:14:44 -04:00
theoreticalbts
a41384d4b1
asset_ops.hpp: Change bitasset_options member name to bitasset_opts to fix gcc compile
2015-07-09 14:52:22 -04:00
theoreticalbts
6899202892
config.hpp: Fix warning
2015-07-09 14:52:22 -04:00
Daniel Larimer
7ead4f3b2d
adding checkpoints #121 to application config
2015-07-09 14:19:47 -04:00
Daniel Larimer
c49fbd87e7
adding checkpoints #121 to database
2015-07-09 14:09:21 -04:00
theoreticalbts
ae7b904e4a
Clean up some unused files
2015-07-09 11:59:06 -04:00
Daniel Larimer
9699be84e6
Progress on #144
2015-07-09 11:40:37 -04:00
Daniel Larimer
c8f200868c
fix zero all fees #144
2015-07-09 10:15:53 -04:00
Daniel Larimer
c8f0ea4abe
It now builds #144
2015-07-09 09:56:50 -04:00
Eric Frias
5dea2825b5
Win32 compile fixes
2015-07-09 09:51:15 -04:00
Daniel Larimer
786c65d4b4
Merge branch 'master' into fee_refactor
2015-07-09 08:43:45 -04:00
Daniel Larimer
fdcf821c41
Progress on #144 - refactoring fee schedule
2015-07-08 18:45:53 -04:00
Vikram Rajkumar
629d884b84
Share some private keys for testnet balances
2015-07-08 18:10:38 -04:00
Vikram Rajkumar
1023ddee92
Fix genesis account memo key init; #17
2015-07-08 18:10:38 -04:00
Nathan Hourt
d64c9154a7
Progress #17 : Lazy load genesis state
...
This speeds up startup for witness_node when starting on a database
which is already initialized.
2015-07-08 17:39:34 -04:00
theoreticalbts
9c4ac2e064
exceptions: Add some exceptions
2015-07-08 16:48:24 -04:00
Nathan Hourt
8d3fd20db2
Progress #17 : Fix account key genesis initialization
2015-07-08 16:45:02 -04:00
Daniel Larimer
baf5531238
Refactored chain library
...
- remove circular dependency with fee_schedule
- unitiy build db_* as database.cpp
- move protocol definitions in separate directory
- combined some objects/evaluators
- combined limit/call evaluator/objects into market_evaluator.*
2015-07-08 16:39:23 -04:00
Nathan Hourt
6436f0142f
Fix witness/delegate count voting; fix unclean witness shutdown on mac
2015-07-08 16:00:22 -04:00
theoreticalbts
2f9e636618
db_maint.cpp: Avoid implementation-defined ordering when votable objects tie for votes
2015-07-08 15:01:25 -04:00