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
eefd87aa2e
More robust peer banning ( #3086 )
...
More robust peer banning
2019-10-04 18:00:49 -04:00
Quentin Le Sceller
6be6391225
Change 2018 to 2019 in copyright files ( #3072 )
2019-10-02 09:40:20 +01: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
Gary Yu
608973c498
Fix the build warning of deprecated trim_right_matches ( #2662 )
2019-03-10 20:13:42 -07:00
Antioch Peverell
23cb9e2514
Map peers by ip only (ignoring port unless on loopback ip) ( #2540 )
...
* wip
* big refactor, regretting doing this now
* PeerAddr everywhere
* cleanup
* fixup server tests
* peers api working for GET, POST is still WIP
* we can now ban/unban peers by ip only (port optional)
2019-02-18 12:15:32 +00:00
hashmap
ac6ed71abd
Refactor API handlers ( #2572 )
...
Also add some API tests
2019-02-15 22:17:00 +01:00
Mark Renten
3b74a9ba3f
Add content disposition for OK responses ( #2545 )
2019-02-11 10:54:21 -08: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
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