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// the null result if a key is unset within azimuth
22 '0x0000000000000000000000000000000000000000000000000000000000000000';
24//TODO move into azimuth-js
28 CONFIGURE_KEYS: 100000,
31 ESCAPE: 115000, //NOTE low sample size
32 ADOPT: 100000, //NOTE low sample size
33 CANCEL_ESCAPE: 200000, //NOTE no samples
34 REJECT: 200000, //NOTE no samples
35 DETACH: 200000, //NOTE no samples
37 GIFT_PLANET: 400000, //NOTE low sample size
42// TODO: this is walletgen-ui specific, move into a wallet router later
44 ENY_NOSTART: Symbol('ENY_NOSTART'),
45 ENY_PENDING: Symbol('ENY_PENDING'),
46 ENY_SUCCESS: Symbol('ENY_SUCCESS'),
47 ENY_FAILURE: Symbol('ENY_FAILURE'),
48 DERIVATION_NOSTART: Symbol('DERIVATION_NOSTART'),
49 DERIVATION_PENDING: Symbol('DERIVATION_PENDING'),
50 DERIVATION_SUCCESS: Symbol('DERIVATION_SUCCESS'),
51 DERIVATION_FAILURE: Symbol('DERIVATION_FAILURE'),
52 PAPER_NOSTART: Symbol('PAPER_NOSTART'),
53 PAPER_PENDING: Symbol('PAPER_PENDING'),
54 PAPER_SUCCESS: Symbol('PAPER_SUCCESS'),
55 PAPER_FAILURE: Symbol('PAPER_FAILURE'),
58const BUTTON_STATES = {
59 NOSTART: Symbol('NOSTART'),
60 SUCCESS: Symbol('SUCCESS'),
61 ERROR: Symbol('ERROR'),
62 PENDING: Symbol('PENDING'),
65const PROFILE_STATES = {
66 NOSTART: Symbol('NOSTART'),
67 UPLOAD_SUCCESS: Symbol('UPLOAD_SUCCESS'),
68 UPLOAD_ERROR: Symbol('UPLOAD_ERROR'),
69 INPUT_SUCCESS: Symbol('INPUT_SUCCESS'),
70 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