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
1a51d87329
Implement test for buyback accounts #538
2016-02-11 04:59:35 -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
2eaa1b553b
Merge branch 'check_reflection' into develop #562
2016-02-09 11:02:07 -05: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
theoreticalbts
2822aca94d
Implement rough Python regular expression based reflection checker #562
...
Ironically this doesn't use the member_enumerator implemented in previous commit
2016-02-09 03:44:41 -05:00
theoreticalbts
915ebb5815
Implement member_enumerator to have FC dump class members #562
2016-02-09 03:44:39 -05:00
valzav
e4082b580e
bump gui version
2016-02-08 17:11:36 -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
fe67b18065
js_operation_serializer: Add missing includes #466 #561
2016-02-08 15:39:01 -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
valzav
ee8e5873f8
gui_version
2016-02-03 18:47:43 -05:00
Daniel Larimer
062ae3fc67
validate fixes
2016-02-02 16:39:05 -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
Daniel Larimer
c1c37df31a
HARDFORK - auto canceled orders still pay fee
2016-01-28 20:11:46 -05:00
Daniel Larimer
405f81eaf8
HARDFORK: fix for hung cancel order
2016-01-28 20:02:37 -05:00
Daniel Larimer
d9db27d416
extra debug info
2016-01-28 19:46:40 -05: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
valzav
dfb45fb42d
add gui version file
2016-01-27 17:54:55 -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
valzav
5c132da795
2.0.160120 gui release tag
2016-01-21 10:22:36 -05:00