Commit Graph

11 Commits

Author SHA1 Message Date
Maciej Hirsz
f97e775498 More CLI settings for IPFS API (#4608)
* TEMP: Bind to 0.0.0.0, don't check Origin

* More CLI options for IPFS

* CORS and Hosts filtering

* Allow current interface as origin

* Correctly handle CORS settings

* fix grumbles
2017-02-24 10:32:42 +01:00
maciejhirsz
348559491a Bump CID version to allow compilation on all platforms 2017-02-20 16:34:16 +01:00
maciejhirsz
da696e4a1f Added support for contract code by hash.
This is done by requests sending CID with raw binary codec (0x55).
Note: this functionality is exactly the same as fetching state-trie
due to how db internals work in Parity atm.
2017-02-16 18:39:13 +01:00
maciejhirsz
8d6275bf07 Only allow requests from Origin 127.0.0.1 2017-02-16 16:08:54 +01:00
maciejhirsz
c4b4a22203 Rename parity-ipfs to parity-ipfs-api 2017-02-16 14:51:33 +01:00
maciejhirsz
ad8e3f0230 Added CLI flags 2017-02-16 14:41:33 +01:00
maciejhirsz
9cfa27830c Write output as chunks 2017-02-15 19:25:57 +01:00
maciejhirsz
d005410e1a No .expect on mime types 2017-02-15 18:26:35 +01:00
maciejhirsz
eb327338e8 Tests and grumbles 2017-02-15 18:07:30 +01:00
maciejhirsz
2ee2d2ea45 Added missing GPL header 2017-02-14 20:03:25 +01:00
maciejhirsz
3c634701dd Squashed 2017-02-14 19:30:37 +01:00