a97ed10d0b
This commit introduces an api.Cid type and replaces the usage of cid.Cid everywhere. The main motivation here is to override MarshalJSON so that Cids are JSON-ified as '"Qm...."' instead of '{ "/": "Qm....." }', as this "ipld" representation of IDs is horrible to work with, and our APIs are not issuing IPLD objects to start with. Unfortunately, there is no way to do this cleanly, and the best way is to just switch everything to our own type. |
||
---|---|---|
.. | ||
operation_test.go | ||
operation.go | ||
operationtracker_test.go | ||
operationtracker.go | ||
operationtype_string.go | ||
phase_string.go |