lotus/api
Clint Armstrong c4f46171ae Report memory used and swap used in worker res
Attempting to report "memory used by other processes" in the MemReserved
field fails to take into account the fact that the system's memory used
includes memory used by ongoing tasks.

To properly account for this, worker should report the memory and swap
used, then the scheduler that is aware of the memory requirements for a
task can determine if there is sufficient memory available for a task.
2021-11-30 02:06:58 +01:00
..
client api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
docgen Report memory used and swap used in worker res 2021-11-30 02:06:58 +01:00
docgen-openrpc api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
mocks make gen 2021-11-22 12:46:15 +01:00
types API proxy struct codegen (#5854) 2021-03-23 13:42:56 +01:00
v0api retrieval: DagSpec.MatchPath -> ExportMerkleProof 2021-11-29 21:14:00 +01:00
v1api Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
api_common.go cli for checking alerts 2021-08-26 15:45:17 +02:00
api_full.go retrieval: Update some API comments 2021-11-22 14:19:03 +01:00
api_gateway.go add additional methods to lotus gateway 2021-11-22 12:19:27 +01:00
api_net.go address net interface split review 2021-07-15 15:51:47 +02:00
api_storage.go cli: add retry for deals stuck in Publish with no funds 2021-10-11 14:03:55 +02:00
api_test.go integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
api_wallet.go lotus-wallet: Support permissioned api 2021-05-31 13:56:35 +02:00
api_worker.go remove read task type and run gen and docsgen 2021-06-07 15:03:06 +05:30
cbor_gen.go integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
checkstatuscode_string.go implement MessagePool.CheckMessages 2021-05-07 15:30:04 +02:00
miner_subsystems.go fix docs and nits. 2021-07-28 20:03:25 +01:00
permissioned.go api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
proxy_gen.go more retrieval api work 2021-11-22 12:46:02 +01:00
proxy_util_test.go address net interface split review 2021-07-15 15:51:47 +02:00
proxy_util.go api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
README.md api: Add basic package readme 2021-03-25 18:00:29 +01:00
types.go gofmt 2021-11-29 21:39:27 +01:00
utils.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
version.go Report memory used and swap used in worker res 2021-11-30 02:06:58 +01:00
wrap.go api: Fix Wrap for nested proxy structs 2021-06-28 19:00:37 +02:00

Lotus API

This package contains all lotus API definitions. Interfaces defined here are exposed as JsonRPC 2.0 endpoints by lotus programs.

Versions

File Alias File Interface Exposed by Version HTTP Endpoint Status Docs
api_common.go v0api/latest.go Common lotus; lotus-miner v0 /rpc/v0 Latest, Stable Methods
api_full.go v1api/latest.go FullNode lotus v1 /rpc/v1 Latest, Work in progress Methods
api_storage.go v0api/latest.go StorageMiner lotus-miner v0 /rpc/v0 Latest, Stable Methods
api_worker.go v0api/latest.go Worker lotus-worker v0 /rpc/v0 Latest, Stable Methods
v0api/full.go FullNode lotus v0 /rpc/v0 Stable Methods