Skip to content

Commit

Permalink
瘪莲
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Jun 15, 2024
1 parent 88517fc commit 106781b
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 9 deletions.
36 changes: 36 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 瘪莲 (ltsh)

A leaner variant of [](https:/filecoin-project/lotus) powering all `riba.cloud` nodes.

## What

This repository contains the **PRODUCTION VERSION** of nodes used at and around `riba.cloud`. The code is the result of a series of patches on top of the [*earliest* version of `lotus`][11] compatible with the current filecoin mainnet. The changes are either backports or modifications of various aspects of upstream, aimed at leaner and/or more correct operations.

## How

The repository never adds tags: named branches are used as source of truth. As upstream is tracked relatively closely, all branches, including [`master`][1] are **force-pushed to quite frequently**. Always use `git pull --rebase` when fetching new changes.

The main named-branches of interest are as follows:

- [`upstream_base`][11]: the base point matching a recent-ish-stable release of [`lotus`][2]

- [`backports`][12]: the portion of [`master`][1] that consists solely of backports from [`upstream-lotus:master`][2] on top of the [`upstream_base`][11].

- [`maybe_for_upstreaming`][13]: the portion of [`master`][1] that could reasonably be considered for inclusion upstream. Note that author **does not plan to raise PRs** against upstream. The marker is provided for those who would like to attempt upstreaming the changes on their own.

- [`master`][1]: code powering the production nodes which author uses for various chain-syncing/-analysis tasks. Drifts between daemon-reported commitish and this branch are generally rare. You are welcome to run this version, as long as you are doing it **AT YOUR OWN RISK** and agree to keep all the pieces if something breaks.

## Lead Maintainer

[Peter 'ribasushi' Rabbitson](https:/ribasushi)

## License

SPDX-License-Identifier: Apache-2.0 OR MIT

[1]: https:/ribasushi/ltsh/commits/master
[2]: https:/filecoin-project/lotus
[11]: https:/ribasushi/ltsh/commits/upstream_base
[12]: https:/ribasushi/ltsh/compare/upstream_base...backports
[13]: https:/ribasushi/ltsh/compare/backports...maybe_for_upstreaming

2 changes: 1 addition & 1 deletion build/openrpc/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openrpc": "1.2.6",
"info": {
"title": "Lotus RPC API",
"version": "1.27.1-rc1"
"version": "瘪莲"
},
"methods": [
{
Expand Down
2 changes: 1 addition & 1 deletion build/openrpc/gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openrpc": "1.2.6",
"info": {
"title": "Lotus RPC API",
"version": "1.27.1-rc1"
"version": "瘪莲"
},
"methods": [
{
Expand Down
2 changes: 1 addition & 1 deletion build/openrpc/miner.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openrpc": "1.2.6",
"info": {
"title": "Lotus RPC API",
"version": "1.27.1-rc1"
"version": "瘪莲"
},
"methods": [
{
Expand Down
2 changes: 1 addition & 1 deletion build/openrpc/worker.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openrpc": "1.2.6",
"info": {
"title": "Lotus RPC API",
"version": "1.27.1-rc1"
"version": "瘪莲"
},
"methods": [
{
Expand Down
4 changes: 2 additions & 2 deletions build/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func BuildTypeString() string {
}

// NodeBuildVersion is the local build version of the Lotus daemon
const NodeBuildVersion string = "1.27.1-rc1"
const NodeBuildVersion = "瘪莲"

func NodeUserVersion() BuildVersion {
if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" {
Expand All @@ -50,7 +50,7 @@ func NodeUserVersion() BuildVersion {
}

// MinerBuildVersion is the local build version of the Lotus miner
const MinerBuildVersion = "1.27.1-rc1"
const MinerBuildVersion = "瘪莲"

func MinerUserVersion() BuildVersion {
if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" {
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/cli-lotus-miner.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:
lotus-miner [global options] command [command options] [arguments...]
VERSION:
1.27.1-rc1
瘪莲
COMMANDS:
init Initialize a lotus miner repo
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/cli-lotus-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:
lotus-worker [global options] command [command options] [arguments...]
VERSION:
1.27.1-rc1
瘪莲
COMMANDS:
run Start lotus worker
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/cli-lotus.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:
lotus [global options] command [command options] [arguments...]
VERSION:
1.27.1-rc1
瘪莲
COMMANDS:
daemon Start a lotus daemon process
Expand Down

0 comments on commit 106781b

Please sign in to comment.