profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/jennijuju/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

filecoin-project/rust-fil-proofs 355

Proofs for Filecoin in Rust

filecoin-project/community-china 283

Resources and forum for the Chinese community, maintained and moderated by CoinSummer & PL.

filecoin-project/community 207

Filecoin community and ecosystem channels, discussion forums, and more

filecoin-project/FIPs 112

The Filecoin Improvement Proposal repository

filecoin-project/filecoin-docs 106

Filecoin Docs

filecoin-project/venus-docs 39

Content for Venus tutorial

filecoin-project/benchmarks 27

A place for community-submitted Filecoin benchmarks

ethers-io/ethers-aion 6

An Aion-flavored version of ethers.js.

filecoin-project/tpm 6

Technical Project Management: Meeting notes and agenda items

issue commentipfs/go-graphsync

Feature Proposal: Simultaneous outgoing request limit

Sounds like a way forward.

Out of curiosity, @jennijuju, did we survey providers and find that they'd want a global limit instead of separate inbound and outbound limits?

we did and they want separate settings.

hannahhoward

comment created time in 8 hours

issue commentfilecoin-project/FIPs

FIP Discussion: BatchBalancer & BatchDiscount Post-HyperDrive Adjustment

For the incentive consideration part of the initial FIP draft, could you please:

  • clarify how PSD network fee is calculated? More specifically, how many deals in a single message was taken?
  • What does the Estimated 32 GiB sector network fee include? is it precommit gas cost + provecommit gas cost? Does it include collateral? And is it for CC sector or the Deal sector?

Note that Network Fee is halved for 64 GiB sectors and the above unit cost numbers go down further as the number of aggregation increases.

Could you please specify which network fee is referred here? Is it only for the X GiB sector network fee?

zixuanzh

comment created time in 2 days

Pull request review commentfilecoin-project/FIPs

BatchBalancer & BatchDiscount Post-HyperDrive Adjustment

+---+fip: <to be assigned>+title: BatchBalancer & BatchDiscount Post-HyperDrive Adjustment+author: zx, jbenet, zenground0, momack2+discussions-to: https://github.com/filecoin-project/FIPs/issues/173+status: Draft+type: Technical+category: Core+created: 2021-09-21+spec-sections: +  - specs-actors+requires (*optional): <FIP number(s)>+replaces (*optional): <FIP number(s)>+---++ `fip-balancer_post_hyperdrive.md`.++## Simple Summary+Adjust BatchBalancer and BatchDiscount to match observed network growth rate post-HyperDrive & apply mechanism consistently to both ProveCommitAggregate & PreCommitBatch.++## Abstract+BatchBalancer and BatchDiscount were introduced in FIP13 HyperDrive to [align participants' incentives with the long-term health and success of the network](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0013.md#incentive-considerations). At that time, the parameter values were set to accommodate an onboarding rate of up to 1 EiB/day. However, given that the network is growing at ~60PiB/day nearly 3 months after HyperDrive (up roughly 2x from ~30-35PiB/day prior to the upgrade), these parameters must be re-calibrated for the long-term success of the network and its participants. This FIP proposes to increase BatchBalancer to 5 nanoFIL. ++In addition, BatchBalancer and BatchDiscount were only applied at ProveCommitAggregate, not at PreCommitBatch. The protocol should also apply the same mechanism at PreCommitBatch to be in line with the spirit and considerations in [FIP13](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0013.md).++## Change Motivation++**BatchBalancer.** The initial parameter values of BatchBalancer and BatchDiscount were set after considering storage onboarding expectations, equilibrium network BaseFee, return on providing storage on Filecoin, cost of PublishStorageDeals, and protocol revenue. HyperDrive unlocked 10-25x storage onboarding capacity and the parameters were provisioning for growth on the order of onboarding 1 EiB/day. However, the network is not growing at that level, resulting in a loss in protocol revenue that hurts all participants long-term. Hence, the protocol needs to adjust its parameters accordingly based on current network growth rate (~60PiB/day) and current growth projections to >150PiB/day. The protocol may re-calibrate this parameter once the network significantly surpasses that growth rate. Work is being done to design mechanisms to set these protocol parameters algorithmically based on on-chain states in the future, so that the protocol re-calibrates automatically based on participants’ behavior.++**PreCommitBatch.** During HyperDrive, BatchBalancer and BatchDiscount were initially only applied at ProveCommitAggregate to simplify implementation. However, storage onboarding is a two-step process and the same mechanism should be applied at PreCommitBatch.++## Specification+- Decompose **SingleProofGasUsage** into **SinglePreCommitGasUsage** and **SingleProveCommitGasUsage**.+- Replace **SingleProofGasUsage** with **SingleProveCommitGasUsage** at **ProveCommitAggregate**. Apply the same **PayBatchGasCharge** function at **PreCommitBatch** and replace **SingleProveCommitGasUsage** with **SinglePreCommitGasUsage** at **PreCommitBatch**. +- Increase **BatchBalancer** value to 5 nanoFIL.+- Currently, the following charge is calculated for each **ProveCommitAggregate** message.++```+func PayBatchGasCharge(numProofsBatched, BaseFee) {+    // Cryptoecon Params (need to be updated if verification benchmarks change)+    BatchDiscount = 1/20 unitless+    BatchBalancer = 5 nanoFIL+    SinglePreCommitGasUsage = 16433324.1825+    SingleProveCommitGasUsage = 49299972.5475++    // Calculating BatchGasCharge at ProveCommitAggregate+    numProofsBatched = <# of proofs in this batched operation>+    BatchGasFee = Max(BatchBalancer, BaseFee)+    BatchGasCharge = BatchGasFee * SingleProveCommitGasUsage *  numProofsBatched *     BatchDiscount++    // Pay for the batch+    PayNetFee(BatchGasCharge) // this can be a msg.Send to f99. Does not affect BaseFee+    // normal gas for the verification computation is paid as usual (using & affecting BaseFee)+}+```++## Design Rationale+Reuse modular function PayBatchGasCharge.++## Backwards Compatibility+This FIP changes actors behavior so it requires a new filecoin network version.++## Test Cases++- Measure total batch gas charge when only PreCommitBatch is used. Confirm it is 25% of both PreCommitBatch and ProveCommitAggregate batch gas charge+- Measure total batch gas charge when only ProveCommitBatch is used. Confirm it is 75% of both combined.+- Test that with the new BatchBalancer parameter value the cross over BaseFee and batch gas charges across a range of BaseFee are as expected.++## Security Considerations+This FIP does not touch underlying proofs or security.++## Incentive Considerations++Including BatchBalancer and BatchDiscount at PreCommitBatch follows from the [incentive considerations in FIP13](https://github.com/filecoin-project/FIPs/blob/master/_fips/fip-0013.md#incentive-considerations) and protects the interest of the protocol which then benefits all network participants.++There were many tradeoffs and considerations in setting the parameter values for BatchBalancer and BatchDiscount given the wide range of stakeholders and interests. Adjusting BatchBalancer and BatchDiscount first changes the equilibrium crossover BaseFee where the unit cost of not aggregating exceeds that of aggregation and hence creating an incentive to aggregate to free up chain capacity. The crossover BaseFee and be computed in close form with the following formula.++```+CrossoverNetworkBaseFee = BatchBalancer * BatchDiscount * SingleProofGasUsage / (SingleProofGasUsage - BatchProofGasUsage / NumProofsBatched)+```++This equilibrium crossover BaseFee in turn impacts other metrics such as the cost of PublishStorageDeals, protocol revenue for a particular growth rate, and the return of storage provision. You can find the table below for a comparison between existing and proposed Balancer values. Note that the estimate can be off and network participants can choose to deviate from the equilibrium.++| BatchBalancer | Estimated Crossover Network BaseFee | Estimated PublishStorageDeals Network Fee | Estimated 32 GiB Sector Network Fee | Estimated 32 GiB Sector Annual Return | Estimated Daily Protocol Revenue at Current Growth Rate |

moved to the issue

zixuanzh

comment created time in 2 days

PullRequestReviewEvent

push eventfilecoin-project/lotus

Jennifer Wang

commit sha f57d4b4126c42f35d09ab153effef3d1b6374162

say bye to more nerpa

view details

push time in 2 days

push eventfilecoin-project/lotus

Mike Greenberg

commit sha 67864334a389f63e097364b21d86e7d9c06fa0f1

fix: escape periods to match actual periods in version

view details

Jiaying Wang

commit sha 21148c90dbb3bafce9fe245d119856face993695

Merge pull request #7377 from filecoin-project/mg/fix/binary-ci-check-grep fix: escape periods to match actual periods in version

view details

push time in 2 days

delete branch filecoin-project/lotus

delete branch : mg/fix/binary-ci-check-grep

delete time in 2 days

PR merged filecoin-project/lotus

fix: escape periods to match actual periods in version

Noticed the CI check delivered in https://github.com/filecoin-project/lotus/pull/7331 had a bug. This is the fix.

+1 -1

1 comment

1 changed file

placer14

pr closed time in 2 days

push eventfilecoin-project/filecoin-docs

johnnymatthews

commit sha fa22856f4bba28daba040f3614c54fbd88aa8e52

Adds 'Networks' to sidebar.

view details

johnnymatthews

commit sha 926214bb65c3ef35db8f9671a508730c3c01b50d

Adds 'Networks' to sidebar.

view details

johnnymatthews

commit sha e418a8b83cf0282d2bfb7f24bcd4b8d0fd889da7

Removes redundant redirect.

view details

Johnny

commit sha faf5636b6accd35f6e2acb65304ea6379d8a2189

Update README.md

view details

johnnymatthews

commit sha ffa7226ce35158dd15514f7a66982fb0f84c0c2b

Removes old redirects. No longer needed.

view details

push time in 2 days

delete branch filecoin-project/filecoin-docs

delete branch : refactor/move-network-to-solo-section

delete time in 2 days

delete branch filecoin-project/FIPs

delete branch : kaitlin-beegle-patch-3

delete time in 2 days

push eventfilecoin-project/FIPs

Kaitlin Beegle

commit sha 0b93c3a097237c0bc91c7e83a3cfd80edc0017a4

Update fip-0011.md Updating FIP status from 'Accepted' to 'Final'

view details

Jiaying Wang

commit sha f644a9d3807349b75a13b067efa568a894c59338

Merge pull request #176 from filecoin-project/kaitlin-beegle-patch-3 Update fip-0011.md

view details

push time in 2 days

PR merged filecoin-project/FIPs

Reviewers
Update fip-0011.md

Updating FIP status from 'Accepted' to 'Final'

+1 -1

0 comment

1 changed file

kaitlin-beegle

pr closed time in 2 days

PullRequestReviewEvent

delete branch filecoin-project/FIPs

delete branch : kaitlin-beegle-patch-4

delete time in 2 days

push eventfilecoin-project/FIPs

Kaitlin Beegle

commit sha 314447fba12bbd4228fc142b8857aed00baa7023

Update fip-0012.md Updating FIP status from 'Accepted' to 'Final'

view details

Jiaying Wang

commit sha c4435a7432f02b3070ad2ab0667528288e317b21

Merge pull request #177 from filecoin-project/kaitlin-beegle-patch-4 Update fip-0012.md

view details

push time in 2 days

PR merged filecoin-project/FIPs

Reviewers
Update fip-0012.md

Updating FIP status from 'Accepted' to 'Final'

+1 -1

0 comment

1 changed file

kaitlin-beegle

pr closed time in 2 days

PullRequestReviewEvent

delete branch filecoin-project/FIPs

delete branch : kaitlin-beegle-patch-5

delete time in 2 days

push eventfilecoin-project/FIPs

Kaitlin Beegle

commit sha bf543dfc31ec74881169adbc68bf072d5ff9811f

Update fip-0013.md Updating FIP status from 'Accepted' to 'Final'

view details

Jiaying Wang

commit sha 4c0f41a20ba4d50c20c0f35e9517fd039ece99d8

Merge pull request #178 from filecoin-project/kaitlin-beegle-patch-5 Update fip-0013.md

view details

push time in 2 days

PR merged filecoin-project/FIPs

Reviewers
Update fip-0013.md

Updating FIP status from 'Accepted' to 'Final'

+1 -1

0 comment

1 changed file

kaitlin-beegle

pr closed time in 2 days

PullRequestReviewEvent
PullRequestReviewEvent

push eventfilecoin-project/FIPs

Kaitlin Beegle

commit sha 43b7c0f1399499f31c6524ff915f990c45026bc0

Update fip-0015.md Updating FIP status from 'Accepted' to 'Final'

view details

Jiaying Wang

commit sha b499ff4d57b2c3e060cb6418dc4aa8b3e277951f

Merge pull request #179 from filecoin-project/kaitlin-beegle-patch-6 Update fip-0015.md

view details

push time in 2 days

delete branch filecoin-project/FIPs

delete branch : kaitlin-beegle-patch-6

delete time in 2 days

PR merged filecoin-project/FIPs

Reviewers
Update fip-0015.md

Updating FIP status from 'Accepted' to 'Final'

+1 -1

0 comment

1 changed file

kaitlin-beegle

pr closed time in 2 days

PullRequestReviewEvent

push eventfilecoin-project/FIPs

Kaitlin Beegle

commit sha 5175312d8ae2fc8805492f953dad62f992ca602a

Update fip-0014.md

view details

Jiaying Wang

commit sha 9ff88f98f1ca0025896fe4626ff0c567dfe02133

Merge pull request #180 from filecoin-project/kaitlin-beegle-patch-7 Update fip-0014.md

view details

push time in 2 days