jaspervdm
d5b523248b
API: don't error on missing output ( #3256 )
...
* Node API: don't error on missing output
* Propagate errors from get_output*
* Rename is_unspent and small refactor
* Forgot to rename function in tests
* Change Batch get_output_pos_height type signature
2020-03-04 23:42:10 +01:00
Quentin Le Sceller
04a0123752
Less cloning and additional pattern simplifications ( #3223 )
...
* API Cleanup
* Chain Cleanup
* Core Cleanup
* Keychain Cleanup
* P2P Cleanup
* Pool Cleanup
* Store Cleanup
* Util Cleanup
* Cleanup clone_from_slice
* Address jasper comments
2020-02-12 19:35:33 +01:00
Quentin Le Sceller
6e5afe496b
Update License to 2020 ( #3196 )
2020-01-20 11:40:58 +00:00
Quentin Le Sceller
cdb2d6c72c
Node API v2 ( #3094 )
...
* Node API v2
* Update gitignore
* Add get_pmmr_indices method
* Add Foreign and Owner API each one with specific secret
* Fix failing tests
* Revert to 'Option<u64>'
2019-12-06 10:57:53 +00:00
Quentin Le Sceller
6be6391225
Change 2018 to 2019 in copyright files ( #3072 )
2019-10-02 09:40:20 +01:00
jaspervdm
0e62b7e43e
Optionally add rangeproofs to block api ( #2999 )
2019-09-03 15:52:33 +01:00
Aleksandrov Vladimir
2cb37913ba
add flag 'no_merkle_proof' to /v1/blocks
api to get blocks without checking merkle proof ( #2843 )
2019-05-31 08:49:40 +02:00
hashmap
7fad5b040f
Reduce number of unwwaps in api crate ( #2681 )
...
* Reduce number of unwwaps in api crate
* Format use section
2019-03-18 19:34:35 +01:00
hashmap
ac6ed71abd
Refactor API handlers ( #2572 )
...
Also add some API tests
2019-02-15 22:17:00 +01:00
Simon B
dd1a24dcbc
Compiler warnings 20190123 ( #2462 )
...
* cleanup compiler warnings: unused imports
* rustfmt
* more compiler warnings
2019-01-25 10:09:32 +00:00
Simon B
87a4e1e2d7
clippy says: unneeded return https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
2019-01-24 01:56:50 +01:00
Simon B
8935f3c7b4
clippy says: use char (',') instead of string (",")
...
https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
2019-01-24 01:53:35 +01:00
hashmap
aedac483f5
Convert to Rust 2018 edition ( #2084 )
...
* Convert to Rust 2018 edition
* Update gitignore
2018-12-08 00:59:40 +01:00
Jeff Barg
cc63fe4d32
refactor: refactored the API into related handler files ( #1914 )
2018-11-03 07:46:12 +01:00