bcb8754057
Fix transaction struct so trades don't crash
2020-11-18 23:27:37 -05:00
9004b4378d
Switch all endpoints to send and receive bincode
...
Instead of json. This required modifying some of the structs and created "Saved" structs for each type for deserializing bincode from the API.
Metadata is still stored as JSON.
2020-11-14 02:22:50 -05:00
52b1a64d7e
Defer writing to file cache to separate thread
...
This allows the plugin to get the data faster while the cache update continues in the background.
2020-11-07 00:34:09 -05:00
127a68687e
Write metadata to file cache
...
Then, before a GET, read the metadata and add any etag to the headers and handle 304 in response.
2020-11-05 19:19:17 -05:00
dcc3590ac3
Better error handling in create_transaction
2020-11-02 01:38:29 -05:00
a5e3b402fa
Update create_transaction with new fields
...
Also better interface, just use RawTransaction as a param. Rust is complaining that this isn't FFI safe though, so I need to figure out why.
2020-10-31 22:43:14 -04:00
7847b19c3e
Add create_transaction function
2020-10-30 00:25:17 -04:00