API calls to work with raw objects #1225

Open
opened 2018-04-23 21:54:42 +02:00 by Kleshni · 2 comments
Kleshni commented 2018-04-23 21:54:42 +02:00 (Migrated from github.com)

I think current API lacks 4 very useful methods:

  • To list available object hashes for some criteria such as type, age, extra POW amount, some monotonous counter (like "rowid" from SQLite, possibly encrypted to hide internals from the API user).

  • To get an object by its hash.

  • To send a prepaired object. Current API has two similar methods, but they are undocumented and don't allow me to send objects of arbitrary type, only messages and public keys.

  • Like previous, but with already calculated POW.

Their absense prevents using Bitmessage as a base for different protocols and extensions.

I can code them and make a pull request.

I think current API lacks 4 very useful methods: - To list available object hashes for some criteria such as type, age, extra POW amount, some monotonous counter (like "rowid" from SQLite, possibly encrypted to hide internals from the API user). - To get an object by its hash. - To send a prepaired object. Current API has two similar methods, but they are undocumented and don't allow me to send objects of arbitrary type, only messages and public keys. - Like previous, but with already calculated POW. Their absense prevents using Bitmessage as a base for different protocols and extensions. I can code them and make a pull request.
PeterSurda commented 2018-04-24 07:14:13 +02:00 (Migrated from github.com)

Ok, feel free to contribute, please consult the Contribution guidelines and ask here or on gitter if you have questions.

Ok, feel free to contribute, please consult the [Contribution guidelines](https://bitmessage.org/wiki/Contribute) and ask here or on [gitter](https://gitter.im/Bitmessage/PyBitmessage) if you have questions.
dimyme commented 2018-09-20 12:07:50 +02:00 (Migrated from github.com)

using my fixes adding protocols and such is easier in --curses mode

I already made "menu 9" availbale for such ideas

using my fixes adding protocols and such is easier in --curses mode I already made "menu 9" availbale for such ideas
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-19#1225
No description provided.