Commit graph

502 commits

Author SHA1 Message Date
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
34a3c17af4 [GUI] Add some docs in the QML 2015-07-17 16:39:01 -04:00
Nathan Hourt
e221fabe39 [GUI] Fixes in transfer form 2015-07-17 16:06:39 -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
d065984854 fix crash due to bad cast 2015-07-17 01:32:52 -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
c527b2d41e operation_tests.cpp: Implement cover_with_collateral_test 2015-07-16 15:32:58 -04:00
theoreticalbts
3cdcf5139f market_evaluator.cpp: Fix call_order_update_evaluator exception logic 2015-07-16 15:32:58 -04:00
theoreticalbts
bc9a3173ec database_fixture: Make borrow() return object 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
984cf47841 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-16 14:28:33 -04:00
Daniel Larimer
8ff2c94c52 Update API to address #164 2015-07-16 14:28:23 -04:00
Eric Frias
9c8eb7d63b Avoid crashing on error parsing invalid ini file format requried by
boost::program_options, temporary workaround for #167
2015-07-16 14:14:40 -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
b056b0f499 [GUI] Tweaks to the identicon behavior 2015-07-15 18:14:48 -04:00
Nathan Hourt
05efa54598 [GUI] Add memo field to transfer form 2015-07-15 17:55:16 -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
theoreticalbts
6f4eb55756 operation_tests2.cpp: Set skip_flags to deal with gaps in balance_object_test 2015-07-15 17:02:24 -04:00
theoreticalbts
8cc683374a operation_tests.cpp: set_expiration_time in transfer_core_asset test 2015-07-15 16:43:42 -04:00
theoreticalbts
8c91d17301 fee_tests.cpp: Rewrite cashback_test to compute ref amounts instead of using hardcoded numbers 2015-07-15 16:22:12 -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
Eric Frias
aa794e7836 By default, log p2p messages to logs/p2p/p2p.log, default to stderr,
progress on #149
2015-07-15 14:38:46 -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
15724170b8 Fix test failures due to now-required expiration 2015-07-15 13:53:55 -04:00
theoreticalbts
a751d90e00 Move witness pay to VBO, update test #142 2015-07-15 12:36:26 -04:00
Nathan Hourt
b24006cca3 [GUI] Fix build 2015-07-15 00:33:33 -04:00
Nathan Hourt
59f65d1411 [GUI] Fix ownership of asset objects 2015-07-15 00:25:46 -04:00
Daniel Larimer
e5f8d0f548 removing unecessary field 2015-07-14 18:50:03 -04:00
Daniel Larimer
a60c506cc7 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-14 18:48:12 -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
theoreticalbts
cfd9dd0f75 app_test: Rewrite broken two_node_network test 2015-07-14 18:17:01 -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
80319893c2 updating UI for asset supprot 2015-07-14 17:30:15 -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
Nathan Hourt
d176429dad [GUI] Add connection loss detection and reestablishment 2015-07-14 16:50:31 -04:00
Nathan Hourt
1813e9f5f6 [GUI] Fix crash from user-after-free
The QML engine was taking ownership of Account objects, and garbage
collecting them when it was done with them, thus causing a crash when
the C++ accessed them. Fix by explicitly marking Account objects as
being owned by the C++ so QML doesn't garbage collect them.
2015-07-14 16:08:54 -04:00
Nathan Hourt
419ab4f932 [GUI] UX tweaks 2015-07-14 15:36:19 -04:00