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
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
10fca25acc
database_fixture.cpp: Fix integer overflow bug waiting for zero blocks #559
2016-02-08 10:04:34 -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
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
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
3c4764ce5a
Merge branch '457-cleanup-remove-full-web-node' into develop
2016-01-07 11:32:57 -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
Fabian Schuh
51c10580fa
[LICENSE] Change to MIT
2015-12-18 16:17:40 +01: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