Commit graph

533 commits

Author SHA1 Message Date
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
1667a72144 [GUI] Break up ClientDataModel.{c,h}pp into many files
This has been needing to happen. Now it's done. There's no going back.
2015-07-22 11:10:52 -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
Nathan Hourt
f72f07b05b [GUI] Early implementation of operations 2015-07-21 17:09:50 -04:00
theoreticalbts
d827c5df28 block_tests.cpp: Remove redundant, unimplemented force_settlement test 2015-07-21 16:07:14 -04:00
theoreticalbts
f06a5dccda operation_tests.cpp: Remove unimplemented bulk_discount_test #169 2015-07-21 16:07:14 -04:00
theoreticalbts
1430fab0f4 operation_tests.cpp: Add messages to update_uia test, fix check failing due to previous commit 2015-07-21 16:07:14 -04:00
theoreticalbts
d343a71c56 asset_evaluator.cpp: Enforce issuer permissions #176 2015-07-21 16:07:14 -04:00
theoreticalbts
5f12f3f445 operation_tests2.cpp: Implement force_settlement_test 2015-07-21 16:07:14 -04:00
theoreticalbts
cb2031a1e4 uia_tests.cpp: Remove mistakenly copy-pasted notes 2015-07-21 16:07:13 -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
fd0e5d4dfb Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-21 15:21:07 -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
Nathan Hourt
2389d2f352 [GUI] Fix build 2015-07-21 14:26:47 -04:00
Vikram Rajkumar
2b403f16ea Merge pull request #175 from cryptonomex/revert-173-master
Revert "Update README.md"
2015-07-21 12:13:45 -04:00
Vikram Rajkumar
ef0c24933d Revert "Update README.md" 2015-07-21 12:13:35 -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
62009315e2 Merge pull request #173 from clayop/master
Update README.md
2015-07-21 08:29:59 -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
Nathan Hourt
6bdc0f69b6 [GUI] Add support for balance update notifications
TODO: Figure out why maximum value in transfer form doesn't update
2015-07-20 17:53:51 -04:00
Vikram Rajkumar
d0b8c66aad Fix Linux Clang build with missing includes; resolve #174 2015-07-20 14:57:08 -04:00
Nathan Hourt
2530ffb06c [GUI] Fix build following e4c29cbe78 2015-07-20 12:21:58 -04:00
Jaewoo Cho
ee0901aca0 Update README.md
Update libraries
2015-07-19 18:54:30 -07: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
theoreticalbts
5655d47a6f operation_tests.cpp: Delete unimp_transfer_cashback_test, superseded by cashback_test 2015-07-17 19:15:29 -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
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