Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DarkDog

Pages: [1]
1
Technical Support / Re: Api question (get_account_history)
« on: November 23, 2015, 09:51:09 am »
It did not happen to realize the decoding in C #.

temp solution, add method to wallet_api

string wallet_api::get_memo(operation_history_id_type operation_id)const
{      
   auto obj = my->_remote_db->get_objects({ operation_id }).front();
   auto t = obj.template as<operation_history_object>();
   std::stringstream ss;
   auto memo = t.op.visit(detail::operation_printer(ss, *my, t.result));
   return memo;
}



2
Technical Support / Re: Api question (get_account_history)
« on: November 22, 2015, 11:52:21 am »
well, it works.
There is only one problem, how to get the decrypted memo?
There is a python library for it:
https://github.com/xeroc/python-graphenelib/blob/master/scripts/monitor-deposits/monitor.py#L50-L56

There is also a Javascript library in bitshares-2-ui/dl somewhere that works like this
https://github.com/xeroc/node-graphene-monitor/blob/master/monitor.js#L70-L80

Thank you, I think there is a way easier.
I'll try to implement in C #.

3
Technical Support / Re: Api question (get_account_history)
« on: November 22, 2015, 10:21:40 am »
well, it works.
There is only one problem, how to get the decrypted memo?

4
Technical Support / Api question (get_account_history)
« on: November 20, 2015, 07:24:09 am »
I have few questions about "get_account_history" - method

early "wallet_account_transaction_history"
wallet_account_transaction_history( const string& account_name,
                                                                                    const string& asset_symbol,
                                                                                    int32_t limit,
                                                                                    uint32_t start_block_num,
                                                                                    uint32_t end_block_num )const

now wallet_api::get_account_history(string name, int limit)const
max limit 100.

How can I get more records?
And use specific criteria to filter?



5
Русский (Russian) / RPC API в QT-клиенте
« on: April 12, 2015, 01:45:26 pm »
Добрый день.

Как заставить работать http rpc api при запуске QT-клиента.

запуск с параметром --server и прописанными config.json параметрами эффекта не дает.

(в при запуске консольного клиента все работает отлично)

6
december 20th 2014

Pages: [1]