API calls to work with raw objects #1225
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Ok, feel free to contribute, please consult the Contribution guidelines and ask here or on gitter if you have questions.
using my fixes adding protocols and such is easier in --curses mode
I already made "menu 9" availbale for such ideas