bsci-filecoin
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Meso Research Plan for Termination Fee ###### tags: `Meso-Research` :::info Up to date by October 2021 ::: Meso Research Plans are living documents that indicates a general area of inquiry around one specific topic. Sections/items are not exhaustive and will be added over time. ## Goal - To create a FIP outlining changes to the Termination Fee that work from 'first principles' as compared with the current _ad hoc_ approach. - Sub-goals include: - how to adjust the cap on the number of days' block reward to penalize, - answering whether or not the initial consensus pledge should also be penalized (as it is much larger than the initial storage pledge), - what functional form parameters (e.g. the 1/2 'discount') should be updated/removed, - ... ## Context - The termination fee is levied whenever: 1. a storage provider manually exercises the termination of a sector before its expiration, or 2. the protocol registers a faulty state for 14 consecutive days for a sector. - Currently, the termination fee is min. 20 days and max. 90 days of expected block reward, i.e. the initial storage pledge amount and then a (capped) assessment based upon the lifetime of the sector. - The termination fee currently disincentivizes upgrading a sector from committed capacity to deal (data) storage solely to recoup termination fee savings, by ensuring that the termination fee for an upgraded sector is at least as large as for a non-upgraded sector. ## Importance - Incentives for both storage providers and data providers are potentially heavily impacted by the termination fee's structure. - If the empirically-observed termination fee frequency is considered to be too high, adjusting the termination fee upward should be assessed for possible incentive impact. ## Knowledge Applications - Related to storage provider preferences and optimization - Related to data provider risk tolerance (preferences) and trust - Related to legal requirements (e.g. GDPR "right to be forgotten") imposed upon storage provider when data provider wishes data to be removed ## Directions - Theoretical framework to understand change in storage provision following an increase in the termination fee - Theoretical framework to understand change in deal fees resulting from an increase in the termination fee - Analysis of legal requirements for removal of data in response to client request (e.g. GDPR) - EDA assessing existing manual terminations and attempting to classify reasons for termination (if possible) ## Reward function follow-up Using the reward function specification from the [Insurance mechanism with finite time](https://hackmd.io/@R02mDHrYQ3C4PFmNaxF5bw/H1LzmEVVF) analysis, the role of the termination fee as a _numeraire_ of the fault reward structure can be specified and analyzed. As a motivating example, consider the polynomial reward function $R$ that is used to assess fault fees up to the termination time $x_{max}$: $$ R(x) := -Fx + (c + a x^{\alpha} + b x^{\beta}), \qquad x \in [0,x_{max}]. $$ The termination fee $TF$ is a terminal condition lump-sum penalty that is assessed whenever the realized fault recovery time, $x$, exceeds the termination time $x_{max}$. Thus, the total reward $V$, which is a random variable, is: $$ V(x) := R(x) \chi_{x \leq x_{max}} + TF \chi_{x > x_{max}}, $$ where $\chi_{event}$ is an indicator function equaling $1$ when an $event$ is TRUE and $0$ otherwise. The expected reward to a miner under the fault duration $X$ exponential probability distribution $$ \Pr(X \leq x | \lambda) := \lambda \int_0^x e^{-\lambda x}dx $$ is then $$ \mathbb{E}_\lambda(V) = \lambda \int_0^\infty V(x) e^{\lambda x}dx = \lambda \int_0^{x_{max}} (-Fx + c + a x^\alpha + b x^\beta) e^{\lambda x}dx + TF \lambda \int_{x_{max}}^\infty e^{\lambda x}dx. $$ This has the analytical solution: $$ \mathbb{E}_\lambda(V) = (c - TF)\left ( 1 - e^{-\lambda x_{max}} \right ) - F \left ( \frac{1}{\lambda} - e^{-\lambda x_{max}} \left (x_{max} + \frac{1}{\lambda} \right ) \right ) + \\ a \lambda^{-\alpha} \gamma(1+\alpha, \lambda x_{max}) + b \lambda^{-\beta} \gamma(1+\beta, \lambda x_{max}), $$ where $\gamma(a,x)$ is the incomplete Gamma function: $$ \gamma(a,x):= \int_0^x e^{-t} t^{a - 1} dt, \qquad \operatorname{Re}(a) > 0. $$ This can be simplified slightly to yield: $$ \mathbb{E}_\lambda(V) = (c - TF)\left ( 1 - e^{-\lambda x_{max}} \right ) - F \left ( \frac{1}{\lambda} - e^{-\lambda x_{max}} \left (x_{max} + \frac{1}{\lambda} \right ) \right ) + \\ \int_0^{\lambda x_{max}} e^{-t} \left (at^\alpha + bt^\beta \right ) dt. $$ Recall from the [Insurance mechanism with finite time](https://hackmd.io/@R02mDHrYQ3C4PFmNaxF5bw/H1LzmEVVF) analysis that the polynomial parameters $(a,b,\alpha,\beta)$ may be chosen according to a set of constraints fixing e.g the initial discount, minimum reward time, and reward at termination. To this parameter list may be added the termination fee time $x_{max}$, and the termination fee amount $TF$, and the total vector of parameters: $$ \pi := (a, b, \alpha, \beta, x_{max}, TF) $$ may be selected using both the constraints above _and_ desired risk/reward tradeoff balancing the termination fee against the reward from recovering before termination. For example, if it were desired for the miner to expect no excess penalty or reward for faults under normal operating conditions, _whatever their duration_, then one would select a parameter vector $\pi^*$ such that $$ \mathbb{E}_\lambda(V | \pi^*) = 0. $$ Naturally there are other constraints that apply to the specification of the termination fee, but they can be examined in light of their effect on the expected reward, both for faults distributed under normal operating conditions, and for faults distributed when a shock occurs.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully