feat: expose feeCalculator

This commit is contained in:
Michael Vines
2019-06-12 14:36:05 -07:00
parent 9fde1eb404
commit 10e3a26338
7 changed files with 91 additions and 20 deletions

View File

@@ -1,6 +1,14 @@
// @flow
// These constants should match the values in
// https://github.com/solana-labs/solana/blob/master/sdk/src/timing.rs
// TODO: These constants should be removed in favor of reading them out of a
// Syscall account
/**
* @ignore
*/
export const NUM_TICKS_PER_SECOND = 10;
/**
* @ignore
*/
export const DEFAULT_TICKS_PER_SLOT = 8;