Commit graph

24 commits

Author SHA1 Message Date
Ahmed Kamal
daa712ae99 support floonet, separate entrypoint from cmd, add docker volume (#2265)
* support floonet, separate entrypoint from cmd, add docker volume

* Separate Dockerfile for floonet

* Spelling and docs
2019-01-01 16:00:21 -08:00
Ignotus Peverell
9234e3c251
Re-launch floonet (#2249)
*  Fix secondary scaling bugs;  rename is_testnet -> is_floonet (#2215)
* add global::is_mainnet()
* use it to change pre-genesis pow type
* rename is_testnet -> is_floonet
* Support multiple chain configurations (#2217)
* Support multiple chain configurations
Supports generating the proper configuration for each chain type
(mainnet, floonet, usernet). Will run them by default under
their respective root directory (~/.grin/main, ~/.grin/floo, etc).
Assigned default ports for mainnet, overriding them to keep Floonet
ports unchanged.
For now, starting on mainnet will abort.
* Fixed usernet command line help message. Fixes #2217
* Differing magic numbers for each chain type (#2208)
* stick to e=H(R|P|m) when use schnorr signature (#2200)
* stick to e=H(R|P|m) when use schnorr signature
* (1)add verify_slate_messages for wallet receive (2)log the message content
* remove debug log on verify_slate_messages
* verify the sender's message signature when receive_tx in wallet listen
* Revert "remove debug log on verify_slate_messages"

This reverts commit 65ea32a407.

* Revert "rustfmt"

This reverts commit c380ab9185.

* Revert "(1)add verify_slate_messages for wallet receive (2)log the message content"

This reverts commit 9584ca7a89.

* [re-floonet] Keychain Floonet BIP32 version/network option (#2235)

* add 'is_floonet' property to keychain
* fix hex encoding and tests

* Fix couple floonet loose ends (#2230)

* Fix couple floonet loose ends. Fixes #2216
* Doc fix for sig message

* Refuse unkown kernel features (#2244)

* Minor: magic number change for re-floonet

* Set pre genesis is_secondary to true (#2247)

* Minor: tx validation error display underlying

* New floonet genesis

* genesis rustfmt

* Use chain-specific config for wallet toml gen

* Fix default wallet_listener_url

* New more reasonable genesis block, bumped version

* genesis rustfmt

* Couple minor fixes to genesis generation script
2018-12-28 14:46:21 -08:00
Ignotus Peverell
892fbc0ac4
rustfmt 2018-12-22 18:16:53 +00:00
Ignotus Peverell
58aa566e82
Move prev_root setting to after set_txhashset_roots so it doesn't get overwritten. Remove git interactions, easier done manually. 2018-12-22 18:16:41 +00:00
Ignotus Peverell
7284cfec72
Changed magic number and seeds for Floonet (#2188)
* Changed magic number and seeds for Floonet.
* Genesis generator now loads a local wallet seed to build coinbase.
2018-12-20 11:08:01 -08:00
Ignotus Peverell
a71af7adae
Also produce full block hashes 2018-12-14 22:12:54 +00:00
Ignotus Peverell
194235a5a7
Fixes to nonce handling in genesis mining 2018-12-14 21:48:08 +00:00
Ignotus Peverell
40e94f53b6
rustfmt 2018-12-14 04:51:52 +00:00
Ignotus Peverell
23cf377d3d
Check plugin errors, uncomment PoW validation 2018-12-14 04:51:35 +00:00
Ignotus Peverell
80726c7f8f
Fixed various replacements to obtain a compilable, well-formed genesis 2018-12-14 02:56:45 +00:00
Ignotus Peverell
2386ce3b8a
Complete genesis replacement 2018-12-14 00:46:41 +00:00
Ignotus Peverell
18416e8528
Use miner as library to get a solution for genesis. Replace final values in genesis.rs before committing it. 2018-12-13 01:54:25 +00:00
Ignotus Peverell
31e69e66ac
Mine a valid Cuckaroo solution for genesis block 2018-12-12 23:29:06 +00:00
Ignotus Peverell
e4ecc30884
Merged upstream 2018-12-11 18:54:44 +00:00
Ignotus Peverell
725499bbf0
Trying to fix slight snafu 2018-12-11 01:09:28 +00:00
Ignotus Peverell
1be37870a2
Trying to fix slight snafu 2018-12-11 01:09:11 +00:00
Ignotus Peverell
a58235f603
Trying to fix slight snafu 2018-12-11 01:08:02 +00:00
Ignotus Peverell
3e7bc2888c
Get last bitcon block hash, setup genesis header without PoW (for now) 2018-12-11 00:39:39 +00:00
hashmap
5f0f0f6ff9
Bump Docker base image to rust 1.31 (#2101)
Bump Docker base image to rust 1.31
2018-12-08 09:48:26 +01:00
Ignotus Peverell
cd135c4dca
Slight crate order tweak, publish the root 2018-12-07 14:32:36 -08:00
Ignotus Peverell
1e675d5afc
Typo in script 2018-12-07 09:34:33 -08:00
Ignotus Peverell
4573c0f1ee
Script to publish to crates.io (#2093) 2018-12-06 20:46:39 -08:00
Quentin Le Sceller
798565d02e
Fix and update Docker image 2018-11-30 10:35:24 -05:00
Ignotus Peverell
ee5fd489bb
Moving distro-related files to etc subdir 2018-11-08 22:29:30 +00:00