theoreticalbts
4e9e3ae054
Allow asset to update permission flags when no supply exists #572
2016-02-14 20:39:33 -05:00
theoreticalbts
b1f8c8f291
buyback_object.hpp: Don't FC_REFLECT buyback_object, FC_REFLECT_DERIVED it instead #538 #575
2016-02-14 17:26:35 -05:00
theoreticalbts
3c6cd2c8a7
Merge branch '564-transfer_from_blind-save-conf' into develop
2016-02-12 00:11:59 -05:00
theoreticalbts
b93540cb5d
Merge branch '553-cleanup-remove-type-serializer' into develop
2016-02-12 00:11:43 -05:00
theoreticalbts
ead3f951a2
Remove type_serializer, re-implement minimal functionality needed by cli_wallet #553
2016-02-12 00:10:52 -05:00
theoreticalbts
e46af9f372
Merge branch '538-fork-buyback' into develop
...
Includes dependencies '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check'
2016-02-11 13:03:19 -05:00
Daniel Larimer
146c0c4d8e
Clean up some non-determisitic behavior, maybe fix #485
...
1. Replace ordered_non_unique indexes with composite keys / ordered_unique, using object_id as tiebreaker.
2. Make some casts more explicit.
This commit was rebased by theoreticalbts due to conflicts with the patches for #466 #562 including bugfixes
- Fix flipped comparison operator
- Implement operator> and operator!= for object_id_type
2016-02-11 13:02:11 -05:00
theoreticalbts
c33fe35e4e
Implement buyback accounts #538
2016-02-11 04:59:28 -05:00
theoreticalbts
bd22592d19
Merge branches '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check' into 538-fork-buyback
2016-02-11 04:56:47 -05:00
theoreticalbts
e4f7483ec3
transfer_evaluator.cpp: Remove unused variable and redundant check #566
...
This check was the pre-419 check of whether the fee asset is authorized,
which was (due to a typo) buggily checking the sent asset rather
then the fee asset.
2016-02-11 04:02:35 -05:00
theoreticalbts
6f7f2605c1
Remove now-redundant white_list bit check from evaluators #566
2016-02-11 04:02:33 -05:00
theoreticalbts
bb47f4c71c
Remove now-redundant white_list bit check from _is_authorized_asset() #566
2016-02-11 04:02:31 -05:00
theoreticalbts
130b54116c
Inline fast path of is_authorized_asset() #566
2016-02-11 04:02:29 -05:00
theoreticalbts
68a0ffa1aa
Make is_authorized_asset a free-floating method #566
...
The following sed commands were used to port existing call sites to the new interface:
sed -i -e 's/\([a-zA-Z0-9_]\+\)->is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, *\1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, \1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[(]db[)][.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\)[(]db[)], db[)]/is_authorized_asset( db, \1(db), \2(db) )/' tests/tests/uia_tests.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\), db[)]/is_authorized_asset( db, \1, \2 )/' tests/tests/uia_tests.cpp
No new functionality is added by this commit, it is simply re-organizing the existing code in a different place.
2016-02-11 01:57:22 -05:00
James Calfee
a0cc5b775d
Saves change address (without changing wallet_api::receive_blind_transfer API) #564
2016-02-09 13:43:56 -06:00
James Calfee
fa439e9732
Saves change address in the wallet when transfering from blind to an account ( close #564 )
2016-02-09 12:37:54 -06:00
theoreticalbts
d0f119b215
Merge branch '489-bugfix-reflect-whitelist' into develop
...
Conflicts:
libraries/chain/include/graphene/chain/account_object.hpp
2016-02-09 10:58:59 -05:00
theoreticalbts
078e63a79f
Merge many bugfix branches into develop
...
Merged:
492-bugfix-open-fail #492
523-bugfix-multiple-blind-xfer #523
537-cleanup-remove-operation_get_required_authorities #537
540-cleanup-settle-volume-spam #540
542-bugfix-cancel-fee #542
557-bugfix-pts-address #557
559-test-fix-zero-block-wait #559
561-bugfix-serializer-build-broken #561
562-bugfix-unreflected-fields #562
2016-02-09 10:57:21 -05:00
Daniel Larimer
ababf24e69
Fix #523 relevant to #452
2016-02-09 10:01:50 -05:00
James Calfee
f1be857441
Updated fc submodule version (fixes compile) #500
2016-02-09 07:24:24 -06:00
theoreticalbts
39d0946b50
Remove evaluation_observer #550
2016-02-09 04:44:11 -05:00
theoreticalbts
e8aeacc293
operations.cpp: Remove unused ancient implementation of operation_get_required_authorities #537
2016-02-09 04:36:41 -05:00
theoreticalbts
3a968332e8
Remove active_witnesses from global_property_object #562
2016-02-09 04:09:26 -05:00
theoreticalbts
19cf1b135b
Fix withdraw_permission_object.hpp reflection #562
2016-02-09 04:01:06 -05:00
Peter Conrad
8d2fa3863e
Fix for #557 : check BTC/PTS addresses on balance import including compressed/uncompressed versions
2016-02-08 16:23:14 -05:00
abitmore
ba2f388f22
Fix cancel_order: set fee after adding operation
2016-02-08 16:17:25 -05:00
abitmore
a5620c3064
Expose whitelisted_accounts, fix #489
2016-02-08 16:14:25 -05:00
theoreticalbts
ad339d2729
Defer something-for-nothing culling for taker orders until the order is unmatched #555
2016-02-08 10:05:43 -05:00
theoreticalbts
b67d223d17
Merge branch '549-fork-cancel-order' into 452-fork-stealth-fba
2016-02-05 12:17:46 -05:00
theoreticalbts
59503acde9
Cap auto-cancel fees at deferred_fee #549
2016-02-02 14:17:57 -05:00
James Calfee
da598c82aa
Revert "Add crypto API call to derive a public key child. #536 "
...
This reverts commit 84fd629d36 .
2016-02-02 13:11:54 -06:00
Daniel Larimer
3646754fe5
HARDFORK - auto canceled orders still pay fee
2016-02-02 11:04:35 -05:00
Daniel Larimer
45e717c181
HARDFORK: fix for hung cancel order
2016-02-02 11:04:22 -05:00
James Calfee
84fd629d36
Add crypto API call to derive a public key child. #536
2016-01-29 15:12:55 -06:00
theoreticalbts
10a4dce501
db_update.cpp: Don't update bitasset_data_object force_settled_volume every block unless needed #540
2016-01-28 18:16:19 -05:00
theoreticalbts
a1e8fc0741
Implement top_n special authority #516
2016-01-27 10:30:32 -05:00
theoreticalbts
ef68375fab
Fix indentation #533
2016-01-25 11:33:05 -05:00
theoreticalbts
a1ee326b55
Improve vote counting implementation #533
2016-01-25 11:33:04 -05:00
theoreticalbts
447018b319
Tell cmake hardfork.hpp is generated, build hardfork.hpp in binary directory #511
2016-01-22 11:37:28 -05:00
theoreticalbts
d8cd48d6ad
Implement by_asset_balance index #529
2016-01-21 11:13:42 -05:00
theoreticalbts
aa6d13b057
Remove by_account index from account_object #529
2016-01-21 10:39:13 -05:00
theoreticalbts
600a06f57e
db_balance.cpp: Rename by_balance -> by_account_asset #529
2016-01-21 10:23:07 -05:00
theoreticalbts
3edaf15652
Generate hardfork.hpp from hardfork.d directory #511
2016-01-11 10:09:03 -05:00
theoreticalbts
b5480db341
api.cpp: Add break to every case in get_relevant_accounts #513
2016-01-08 14:35:07 -05:00
theoreticalbts
d6878852f0
confidential_object.hpp: Move confidential objects into own header #466
2016-01-08 13:06:14 -05:00
theoreticalbts
e9eb050c1e
worker_object.hpp: Move worker objects into own header #466
2016-01-08 11:42:35 -05:00
theoreticalbts
07fb90a7ec
market_object.hpp: Move market objects into own header #466
2016-01-08 11:36:32 -05:00
theoreticalbts
61687790e3
wallet: Remove libraries/wallet/cache.cpp #510
2016-01-08 11:29:39 -05:00
theoreticalbts
2da6840405
Optionally disable database unity build #509
2016-01-08 11:29:39 -05:00
theoreticalbts
8c8157e706
Bump fc
2016-01-08 11:22:14 -05:00
Michael Vandeberg
fd09669be3
Merge branch '500-crypto-api' into develop
...
Closes cryptonomex/graphene#500
2016-01-07 17:24:13 -05:00
Michael Vandeberg
8df58439b1
Opens up cryptographic methods in their own API with serialized wrappers for public and private keys.
...
Tests for serialization of the wrappers added in serialization_tests.
2016-01-07 17:17:27 -05:00
theoreticalbts
a548217e5c
db_update.cpp: Log a lot of information if clear_expired_orders() is iterating too much, maybe useful to diagnose #485
2016-01-07 16:23:50 -05:00
theoreticalbts
c1612a434e
db_block.cpp: Disable skip_validate #505
2016-01-07 16:04:52 -05:00
theoreticalbts
399e0ed9f9
db_update.cpp: Take mia as reference, not copy, in clear_expired_orders(), maybe fix #485
2016-01-07 16:04:16 -05:00
theoreticalbts
3c7a4525d7
Merge branch '503-api-new-market-api' into develop
2016-01-07 14:23:24 -05:00
Michael Vandeberg
f7bfcea355
Implement new market API #503
2016-01-07 14:12:03 -05:00
theoreticalbts
f1b19b1562
Merge branch '496-cleanup-license-header' into develop
2016-01-07 13:38:52 -05:00
Michael Vandeberg
acfbad2cd4
Adds a cryptography API.
2016-01-07 12:57:29 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
1b8ce8a537
Merge branch '498-cleanup-move-options-validate' into develop
2016-01-07 11:42:41 -05:00
theoreticalbts
c56cbfe2a7
account.cpp: Move account_options::validate() implementation from account_object.cpp #498
2016-01-07 11:42:16 -05:00
theoreticalbts
0ccc6722eb
Merge branch '483-history-fix-op-numbers' into develop
2016-01-07 11:31:02 -05:00
theoreticalbts
3680b67271
Merge branch '481-history-failed-proposal-ops' into develop
2016-01-07 11:30:50 -05:00
theoreticalbts
84fab61589
Merge branch '480-fork-mia-core-exchange' into develop
2016-01-07 11:30:04 -05:00
Daniel Larimer
dd5b7708b4
potential fix for hung chain
2016-01-07 11:27:50 -05:00
theoreticalbts
3af94b7878
application.cpp: Handle exception in open() by re-indexing #492
2016-01-04 10:38:59 -05:00
theoreticalbts
d60c8a255e
Fix optional dereferences
2015-12-16 17:14:41 -05:00
theoreticalbts
7cae3501f8
Fix operation history numbering #483
2015-12-16 11:43:45 -05:00
theoreticalbts
f42bbcd087
Fix non-BTS MIA core_exchange_rate check #480
2015-12-15 14:20:00 -05:00
theoreticalbts
7e0e58f441
Discard from _applied_ops when proposal fails #481
2015-12-15 14:14:57 -05:00
Fabian Schuh
a2ce86bf4f
Merge remote-tracking branch 'remotes/origin/467-wallet-propose-account'
2015-12-10 13:01:53 +01:00
theoreticalbts
c2943ee3bb
undo_database.cpp: Handle unimplemented upd+del case
2015-12-09 18:16:50 -05:00
theoreticalbts
44db4760a1
undo_database.cpp: Refactor undo_database::merge() code
...
This commit does not change semantics at all, it just changes the layout of the code and adds comments.
2015-12-09 18:16:50 -05:00
theoreticalbts
5fa123b6d7
config.hpp: Bump db version
2015-12-07 17:52:49 -05:00
theoreticalbts
2b9876fd98
hardfork.hpp: Set hardfork timestamps
2015-12-07 15:36:52 -05:00
theoreticalbts
7107735e3f
Bump fc to enable WEBSOCKETPP_STRICT_MASKING #365
2015-12-07 15:17:23 -05:00
theoreticalbts
725ffd021e
Merge branch '455-fork-annual-self-referrer' into develop
2015-12-07 15:15:41 -05:00
theoreticalbts
0735a8722e
Merge branch '453-fork-referral-percent' into develop
2015-12-07 15:15:26 -05:00
theoreticalbts
d853aecd3f
Merge branch '445-fork-order-create-fee-refund' into develop
2015-12-07 15:14:03 -05:00
theoreticalbts
ac267393fc
Merge branch '436-fork-feed-protect' into develop
2015-12-07 15:12:17 -05:00
theoreticalbts
67aa3a4eb1
Merge branches '424-wallet-cancel-order', '437-test-fix-future-genesis', '439-util-js-op-wrapper' and '449-wallet-percent-mult' into develop
2015-12-07 15:11:58 -05:00
theoreticalbts
b80587e5b5
Prevent margin call from being triggered unless feed < call #436
2015-12-07 14:59:07 -05:00
theoreticalbts
32f12b9215
Refund order creation fee when order is cancelled #445
2015-12-03 15:48:52 -05:00
theoreticalbts
7a5c5c476d
wallet.cpp: Implement propose_builder_transaction2 #467
2015-12-02 16:17:46 -05:00
Daniel Larimer
0b4675354a
Merge pull request #462 from wackou/api-339
...
Api calls for #339 : needed api calls (mostly network) for supporting bts_tools
2015-11-25 09:57:38 -05:00
Nicolas Wack
86029542ae
Add "about" api call to wallet. Fix #339
2015-11-25 15:26:26 +01:00
Scott Howard
699144c173
add cancel_order to wallet api
2015-11-23 09:47:45 -05:00
Nicolas Wack
c3dd6c3e48
Add network api calls: get_advanced_node_parameters, set_advanced_node_parameters, get_potential_peers
2015-11-21 23:04:43 +01:00
Nicolas Wack
de7b427472
Network api returns fc::variant_object instead of fc::variant
2015-11-21 23:00:03 +01:00
theoreticalbts
498ebf486f
account_evaluator.cpp: Set annual referrer to self when upgrading to annual member #455
2015-11-20 10:51:59 -05:00
theoreticalbts
084e38753b
Hardfork to retroactively correct referral percentages #453
2015-11-19 16:35:33 -05:00
theoreticalbts
47585a6b9a
Fix cli_wallet referrer percentage type #449
2015-11-19 14:11:40 -05:00
theoreticalbts
979d52c4c9
Merge branch '434-api-fillin-proposed-op-fees' into develop
2015-11-05 16:04:44 -05:00
theoreticalbts
b03ac00b6c
database_api.cpp: Recursively evaluate proposal fees #434
2015-11-05 16:02:39 -05:00
theoreticalbts
a96fd62d03
fee_schedule.cpp: Use relaxation to set fee #435
2015-11-05 15:59:32 -05:00
Scott Howard
70d364251a
add cancel_order to wallet api #424
2015-11-02 17:53:57 -05:00
theoreticalbts
09855166a2
Merge branch 'fork-367' into develop
2015-11-02 10:49:56 -05:00
theoreticalbts
75d1bb39a3
Re-bump fc after inadvertently reverted by #367
2015-11-02 10:22:46 -05:00
theoreticalbts
65003ba06c
Merge branch 'fork-413' into develop
...
Conflicts:
libraries/chain/include/graphene/chain/hardfork.hpp
2015-10-31 17:13:15 -04:00