lotus/api
Phi-rjan b446a39a40
build: release: v1.27.1-rc2 (#12101)
* fix: ci: do not use deprecated --debug goreleaser flag (#12086)

* chore: deals: remove forgotten graphsync references (#12084)

* chore: types: remove more items forgotten after markets (#12095)

* chore: cleanup: remove more items forgotten after markets

* .gz somehow reappeared after https://github.com/filecoin-project/lotus/pull/11625

* fix: ETH RPC API: ETH Call should use the parent state root of the subsequent tipset (#11905)

* fix eth call

* tests

* changes as per review

* changes as per review

* Update node/impl/full/eth.go

Co-authored-by: Rod Vagg <rod@vagg.org>

* fix as per review

---------

Co-authored-by: Rod Vagg <rod@vagg.org>

* Update changelog to RC2

Update changelog to RC2

* Make gen / make docsgen-cli

Make gen / make docsgen-cli

* chore: api: the Net API/CLI now remains only on daemon

The only part of this repository that does lp2p is now lotus-daemon

Remove the CommonNet type, used exclusively bu the CLI stack

Adjust the rest of struct-memebership to match what went where

End result best seen in diff of `documentation/en/api-v0-methods-miner.md`

* Update changelog

Update changelog

* fix: events: sqlite db improvements (#12090)

* fix: events: sqlite db improvements

* fix unclosed multi-row query
* tune options to limit wal growth

Ref: https://github.com/filecoin-project/lotus/issues/12089

* fix: events: use correct context for CollectEvents transaction

* fix: events: close prepared read statement

* fix: events: close initial query; handle lint failures

* Update CHANGELOG.md

---------

Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Peter Rabbitson <ribasushi@leporine.io>
2024-06-19 10:28:57 -04:00
..
client build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
docgen build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
docgen-openrpc feat!: build: separate miner and node version strings 2024-05-30 10:02:43 +10:00
mocks feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
types feat: gateway: eth_ api support 2023-01-13 20:04:41 +01:00
v0api build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
v1api Drop curio-related sources 2024-05-28 13:28:00 +02:00
api_common.go feat: Add node uptime rpc / output in info command 2022-10-11 10:11:09 +02:00
api_errors.go fix: itest: check for closed connection 2022-09-27 15:34:01 +00:00
api_full.go build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
api_gateway.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
api_net.go build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
api_storage.go build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
api_test.go address magik supernit 2022-09-27 15:34:01 +00:00
api_wallet.go lotus-wallet: Support permissioned api 2021-05-31 13:56:35 +02:00
api_worker.go sealing: Split unsealed cleanup from Finalize 2022-11-23 18:57:16 +01:00
cbor_gen.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
checkstatuscode_string.go implement MessagePool.CheckMessages 2021-05-07 15:30:04 +02:00
eth_aliases.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
miner_subsystems.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
permissioned.go lotus-provider: fix RPC construction for real real 2023-12-04 14:15:58 +01:00
proxy_gen.go build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
proxy_util_test.go fix make gen 2022-08-29 16:25:30 +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 build: release: v1.27.1-rc2 (#12101) 2024-06-19 10:28:57 -04:00
utils.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
version.go Drop curio-related sources 2024-05-28 13:28:00 +02: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