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
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
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
2da6840405
Optionally disable database unity build #509
2016-01-08 11:29:39 -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
f1b19b1562
Merge branch '496-cleanup-license-header' into develop
2016-01-07 13:38:52 -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
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
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
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
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
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
a96fd62d03
fee_schedule.cpp: Use relaxation to set fee #435
2015-11-05 15:59:32 -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
theoreticalbts
3dc58e435f
Merge branches 'fork-409' and 'fork-419' into develop
2015-10-31 17:12:16 -04:00
theoreticalbts
4fa7443922
Merge branches 'history-324', 'bugfix-390', 'wallet-398', 'opt-410', 'script-411', 'bugfix-412', 'bugfix-414', 'bugfix-423' and 'feature-427' into develop
2015-10-31 17:11:41 -04:00
theoreticalbts
55fef1b161
db_update.cpp: Don't clear expired feeds for non-market-issued assets #410
2015-10-31 16:14:25 -04:00
theoreticalbts
a126520fa3
HARDFORK Allow creation of sub-assets #409
2015-10-31 15:46:53 -04:00
theoreticalbts
dfe228fc85
global_property_object.hpp: Reflect last_budget_time #414
2015-10-31 14:37:56 -04:00
theoreticalbts
966b3edf0c
Add hardfork logic #413
2015-10-30 18:07:19 -04:00
Daniel Larimer
5d6091e581
HARDFORK - adding operation to claim asset fees #413
2015-10-30 18:07:19 -04:00