24 Commits

Author SHA1 Message Date
05318a5dea feat: add env-var to disable F3 activation (#12920) 2025-03-03 18:47:00 +01:00
9bfd0b4295 chore: remove IPNI advertisement relay over pubsub via Lotus node (#12768)
The initial implementation of IPNI used GossipSub as a way to propagate
IPNI advertisement chain. To do this the propagation had to be relayed
through the Lotus node due to strict Filecoin GossipSub validation
rules.

Since then IPNI has moved on to roll out its own sync protocol that
works over HTTP, and HTTP-over-libp2p. This move has been the official
way of advertising content to IPNI federation over a year now.

Therefore, remove the ad relay over pubsub via Lotus node as it is now
considered to have reached its EOL as a mechanism for advertising to
IPNI.
2024-12-10 12:56:04 +00:00
be74be07e6 feat(f3): allow to disable f3 passive testing (#12672)
using `LOTUS_DISABLE_F3_PASSIVE_TESTING=1`

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
2024-11-06 16:04:18 +07:00
dd5a449a0d Handle negative value for LOTUS_DISABLE_F3 env var gracefully (#12620)
Accept any of "", "0", "false", "no" as negative value for
`LOTUS_DISABLE_F3` in which case F3 should remain enabled.
2024-10-21 15:36:11 +01:00
673c3ffd13 chore: types: buildconstants split post-cleanup (#12245)
* chore: s/CidMustParse/cid.MustParse/g
* chore: fix sloppy init duplication
* chore: move the policy init() to the core namespace
* chore: remove unused proxies for policy.DealDurationBounds
2024-07-16 19:08:40 +10:00
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
7e37ee1b88 feat:ec:f3: add env var to disable F3 (#12176)
* F3-388: add env var to disable F3

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>

* F3-388: check env variable in pubsub also

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>

* F3-388: use DISABLE_F3=1 instead of _yes_ like in drand

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>

* Use IsF3Enabled() and remove the runtime stopping

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>

---------

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
Co-authored-by: Jakub Sztandera <oss@kubuxu.com>
2024-07-04 17:48:50 +02:00
2086b219d2 Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
e65fae28de chore: fix imports 2022-06-14 17:00:51 +02:00
230b8554f6 Override testnetnet to mainnet in indexer ingest topic
Override `testnetnet` to `mainnet` when constructing indexer ingestion
topic.
2022-02-11 19:52:19 +00:00
4691b2b809 changes to the indexer message relay PR 2022-02-04 12:15:01 +04:00
c084130d3e Lotus chain nodes relay indexer pubsub messages
Content providers announce the availability of indexer data using gossip pubsub.  The content providers are not connected directly to indexers, so the pubsub messages are relayed to indexers via chain nodes. This PR makes chain nodes relay gossip pubsub messages, on the /indexer/ingest/<netname> topic.
2022-02-03 14:56:21 -08:00
c1e4eb3b20 Add a whitelisted block 2021-04-10 02:12:38 -04:00
7838752352 Avoid sending messages to the zero BLS address 2020-11-17 01:42:11 -05:00
710ac9d544 use the correct network version in genesis
1. Version 0 upgrades happen _after_ genesis.
2. Get rid of UseNewestNetwork. It's not useful and quite dangerous.
2020-10-21 12:18:38 -07:00
4e730b5ec8 port to v2 imports 2020-10-21 12:16:23 -07:00
3d91633699 Update to v2/actors master 2020-10-01 05:07:00 -04:00
c0b316fd9c finish wiring up actors v2 2020-09-28 15:58:07 -07:00
60e43ccbb1 Add an envvar to set address network version 2020-09-25 15:45:27 -04:00
1bf3b4989d rename imports to match actors code
`sed -i 's/\bv0\(\w\)\(\w*\)/\L\1\E\20/g' **/*.go`
2020-09-18 14:59:27 -07:00
b5ba7a0fad Miner migration 2020-09-17 02:21:16 -04:00
beba92aed4 Improve network versioning logic 2020-09-10 17:41:55 -04:00
39755a294a Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
0fddf3e114 make system constants configurable as vars.
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.

Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.

Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00