1import { isDevelopment } from './flags';
3const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 5000;
9const MIN_PLANET = 65536;
10const MAX_PLANET = 4294967297;
12const ZOD = MIN_GALAXY;
14const PLANET_ENTROPY_BITS = 64;
15const STAR_ENTROPY_BITS = 128;
16const GALAXY_ENTROPY_BITS = 384;
18const SEED_ENTROPY_BITS = 128;
20//TODO move into azimuth-js
24 CONFIGURE_KEYS: 100000,
27 ESCAPE: 115000, //NOTE low sample size
28 ADOPT: 100000, //NOTE low sample size
29 CANCEL_ESCAPE: 200000, //NOTE no samples
30 REJECT: 200000, //NOTE no samples
31 DETACH: 200000, //NOTE no samples
33 GIFT_PLANET: 400000, //NOTE low sample size
38// TODO: this is walletgen-ui specific, move into a wallet router later
40 ENY_NOSTART: Symbol('ENY_NOSTART'),
41 ENY_PENDING: Symbol('ENY_PENDING'),
42 ENY_SUCCESS: Symbol('ENY_SUCCESS'),
43 ENY_FAILURE: Symbol('ENY_FAILURE'),
44 DERIVATION_NOSTART: Symbol('DERIVATION_NOSTART'),
45 DERIVATION_PENDING: Symbol('DERIVATION_PENDING'),
46 DERIVATION_SUCCESS: Symbol('DERIVATION_SUCCESS'),
47 DERIVATION_FAILURE: Symbol('DERIVATION_FAILURE'),
48 PAPER_NOSTART: Symbol('PAPER_NOSTART'),
49 PAPER_PENDING: Symbol('PAPER_PENDING'),
50 PAPER_SUCCESS: Symbol('PAPER_SUCCESS'),
51 PAPER_FAILURE: Symbol('PAPER_FAILURE'),
54const BUTTON_STATES = {
55 NOSTART: Symbol('NOSTART'),
56 SUCCESS: Symbol('SUCCESS'),
57 ERROR: Symbol('ERROR'),
58 PENDING: Symbol('PENDING'),
61const PROFILE_STATES = {
62 NOSTART: Symbol('NOSTART'),
63 UPLOAD_SUCCESS: Symbol('UPLOAD_SUCCESS'),
64 UPLOAD_ERROR: Symbol('UPLOAD_ERROR'),
65 INPUT_SUCCESS: Symbol('INPUT_SUCCESS'),
66 INPUT_ERROR: Symbol('INPUT_ERROR'),
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list