The result of getorderbook_MP, gettradessince_MP and gettradehistory_MP is sorted based on block height and position of a transaction within a block by using the MetaDEx_compare comparator.
This further replaces void add_mdex_fields(Object *metadex_obj, CMPMetaDEx obj, bool c_own_div, bool c_want_div, string eco) with:
This is the continuation of @faizkhan00's #197.
The result of
getorderbook_MP
,gettradessince_MP
andgettradehistory_MP
is sorted based on block height and position of a transaction within a block by using theMetaDEx_compare
comparator.This further replaces
void add_mdex_fields(Object *metadex_obj, CMPMetaDEx obj, bool c_own_div, bool c_want_div, string eco)
with:I did not include the code / style format, but I'd be happy to push it, once this is merged.