61 Commits

Author SHA1 Message Date
21abfc69fb feat: api: Clean API for Miners (#12112)
* proofparams alternate

* createminer

* const factored from /build and types updated to use it

* buildconstants for more places

* deprecate msg

* itest cleanup

* alerting interface

* house cleaning

* rm policy and drand from buildconstants

* clean up curio further

* aussie waffle

* pr fixes

* fix lints

* little fixes

* oops this got updated

* unbreak test builds

* test fixes

* comments - cleanups

* itests fix alerting

* rm obsolete alertinginterface

* spelling oops

* changelog

* tests need buildconstants port

* Fully migrate BlockGasTarget

* ulimit should not depend on build

* complete the simplest deprecations

* bringing back versions
2024-07-14 09:06:08 -05:00
fd7f1a95e2 feat: curio: web based config edit (#11822)
* cfg edit 1

* jsonschema deps

* feat: lp mig - first few steps

* lp mig: default tasks

* code comments

* docs

* lp-mig-progress

* shared

* comments and todos

* fix: curio: rename lotus-provider to curio (#11645)

* rename provider to curio

* install gotext

* fix lint errors, mod tidy

* fix typo

* fix API_INFO and add gotext to circleCI

* add back gotext

* add gotext after remerge

* lp: channels doc

* finish easy-migration TODOs

* out generate

* merging and more renames

* avoid make-all

* minor doc stuff

* cu: make gen

* make gen fix

* make gen

* tryfix

* go mod tidy

* minor ez migration fixes

* ez setup - ui cleanups

* better error message

* guided setup colors

* better path to saveconfigtolayer

* loadconfigwithupgrades fix

* readMiner oops

* guided - homedir

* err if miner is running

* prompt error should exit

* process already running, miner_id sectors in migration

* dont prompt for language a second time

* check miner stopped

* unlock repo

* render and sql oops

* curio easyMig - some fixes

* easyMigration runs successfully

* lint

* part 2 of last

* message

* merge addtl

* fixing guided setup for myself

* warn-on-no-post

* EditorLoads

* cleanups and styles

* create info

* fix tests

* make gen

* change layout, add help button

* Duration custom json

* mjs naming

---------

Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
Co-authored-by: LexLuthr <lexluthr@curiostorage.org>
2024-04-16 09:30:27 -05:00
58900a7033 feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416)
However, we're leaving the default at 1.25x for backwards compatibility, for now.

Also:

1. Actually use the configured replace fee ratio.
2. Store said ratios as percentages instead of floats. 1.25, or 1+1/(2^2),
can be represented as a float. 1.1, or 1 + 1/(2 * 5), cannot.

fixes #10415
2023-03-09 13:17:17 -08:00
4f75e2041c Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
308cef950b cctx.Args().Len() to cctx.NArg() 2022-09-14 14:33:29 -04:00
05cdeb80c3 chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
c3817652dc Add cli tests for mempool 2022-02-21 11:28:45 +01:00
11394aa4aa Improve cli docs 2021-07-29 00:29:27 -04:00
5c823e9b42 PR #5109 + suggested fix 2021-07-28 23:59:59 -04:00
7535c5bb53 Add mpool manage command
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
c800211fbb chore: Move lotus mpool clear to lotus-shed 2021-03-29 12:54:08 -04:00
bcf7aab55d chore: export mpool cli commands 2021-03-23 16:28:27 -07:00
8613454d1d correct flag usages for replace cmd 2020-12-27 23:46:03 +08:00
0f08da3272 add mpoolpending from to filter 2020-12-10 17:21:32 +08:00
6ca5caef31 Refactor DefaultMessageSendSpec
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-08 20:51:27 +01:00
0386cc5d48 Merge pull request #5059 from filecoin-project/feat/mpool-replace-opt-limit
Make --gas-limit optional in mpool replace cli
2020-11-30 20:07:09 +01:00
f4913c19b1 Make --gas-limit optional in mpool replace cli 2020-11-30 12:41:50 +01:00
09b9dfc3ce Print gas limit sum in mpool stat 2020-11-27 15:55:59 +01:00
ae7889f830 Config for default max gas fee 2020-10-29 20:50:11 +01:00
4be8964062 Add stats for base fee
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-05 19:15:51 +02:00
889dd3cb3f improve the UX for replacing messages 2020-10-01 08:51:01 -07:00
2865a0367b Fix mpool replace --auto
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-11 00:59:57 +02:00
f7d3d371f7 print reward and actual gas performancec 2020-09-09 22:11:51 +03:00
7747f5a3fa add basic command for printing gas performance of messages in the mempool 2020-09-09 11:23:48 -07:00
e9b85f5acb ensure replaced message can properly RBF 2020-09-09 10:23:41 -07:00
8c0994e290 add an auto flag to mpool replace 2020-09-08 15:47:40 -07:00
39755a294a Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
f84bbd4520 Fix more lint warnings.
This way we can keep CI green.
2020-08-25 12:56:30 -07:00
aa2cad1a66 small usability tweak, fix lint 2020-08-24 22:48:47 +02:00
b87c89ad16 mod tidy, fix lint 2020-08-24 12:51:55 +02:00
0806fd651a Merge pull request #3183 from filecoin-project/steb/lint-all
Lint everything
2020-08-22 21:47:41 +02:00
817358f1bb better semantics for mpool clear local argument
local messages should be kept unless the parameter is true
2020-08-21 23:48:35 +03:00
3debf005a8 add --really-do-it flag to mpool clear command 2020-08-21 23:32:41 +03:00
087955e927 add localonly option to MpoolClear 2020-08-21 23:32:41 +03:00
0c875774ce add mpool clear cli command 2020-08-21 23:32:41 +03:00
5733c71c50 Lint everything
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.

There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
054fc4a614 add client command for mpool config 2020-08-16 09:57:53 +03:00
ab08858b45 Delete GasPrice from this world
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02:00
d0f4ede99b Print totals in mpool stat 2020-07-27 18:23:01 +02:00
4191e25038 implement mpool find cmd 2020-07-22 15:07:02 -07:00
711850fb22 implement mpool replace command 2020-07-22 14:19:59 -07:00
3e00885ba6 Spelling fix 2020-07-20 18:30:21 -07:00
3b13397165 gofmt 2020-06-06 00:59:01 +02:00
29dbc26dbd Update cli
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
a0bdf95845 ipfsclient: Add some docs 2020-04-30 13:21:51 +02:00
cb5e5a1325 mpool cli: --local flag 2020-04-29 21:52:04 +02:00
2bf9f10f16 mpool stat: sort by address 2020-03-10 01:44:15 +01:00
e396454138 shed: auto mode for nonce-fix 2020-03-10 01:26:10 +01:00
60970008c8 Re: #1250: API methods should receive TipSetKeys, not TipSets, as input 2020-02-17 19:53:43 -05:00
7712d97270 mpool stat: Don't exit on StateGetActor error 2020-01-20 16:18:02 +01:00