Published
Edited
Jul 1, 2019
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function calculate_min_tx_cost(DataSize, Diff) {
let Size = 3210 + DataSize;
let CurveSteepness = 2;
let BaseCost =
(CurveSteepness * (Size * COST_PER_BYTE)) /
(Diff - (DIFF_CENTER - CurveSteepness));
return BaseCost * Math.pow(1.2, Size / (1024 * 1024));
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
calculate_min_tx_cost(181, 43 - 1) / WINSTON_PER_AR
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {slider} from "@jashkenas/inputs"
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more