Antioch Peverell
bf42767210
start search with min height 0 ( #2195 )
2018-12-20 22:37:13 +00:00
Ignotus Peverell
cab438efcb
Fix get_header_for_output for genesis ( #2192 )
2018-12-20 13:52:45 -08:00
Ignotus Peverell
5faeeedf65
Test with final Floonet genesis hashes
2018-12-20 21:07:53 +00:00
Ignotus Peverell
84d4777545
Add floonet to generated grin-server.toml comments
2018-12-20 21:04:57 +00:00
Ignotus Peverell
439a3915f6
Floonet genesis block
2018-12-20 20:34:25 +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
Quentin Le Sceller
b0c72827d9
Merge pull request #2190 from yeastplume/bzip_dep
...
Remove bzip2 dependency
2018-12-20 09:43:28 -05:00
yeastplume
b5fd06c2cb
Remove bzip2 dependency
2018-12-20 13:15:46 +00:00
Yeastplume
7812a9e892
[Floonet] Encrypt private slate data upon storage in DB ( #2189 )
...
* xor encrypt stored nonce and blind sum in transaction data
* rustfmt
* stop doc tests splatting wallet files throughout
2018-12-20 13:10:36 +00:00
Blade Doyle
2ca69498de
Fix duplicate nonce in message, run rustfmt ( #2187 )
2018-12-19 15:32:01 -08:00
Ignotus Peverell
df671a8adb
Remove bit about ASIC resistant mining algo
2018-12-19 14:42:54 -08:00
Ignotus Peverell
18feae17dc
Fix domain for my email address
2018-12-19 12:11:42 -08:00
Ignotus Peverell
a42250445d
Floonet chain type and genesis, testnets cleanup ( #2182 )
2018-12-18 14:03:55 -08:00
Ignotus Peverell
87d256a318
Utility to automatically generate mainnet genesis block ( #2122 )
...
* Get last bitcon block hash, setup genesis header without PoW (for now)
* More a few properties to mainnet genesis. Don't get too excited, several are placeholders.
* Mine a valid Cuckaroo solution for genesis block
* Use miner as library to get a solution for genesis. Replace final values in genesis.rs before committing it.
* Complete genesis replacement
* Fixed various replacements to obtain a compilable, well-formed genesis
* Check plugin errors, uncomment PoW validation
* Fixes to nonce handling in genesis mining
* Also produce full block hashes
* Fix genesis hash test
2018-12-18 11:26:29 -08:00
hashmap
0d44c5405f
Make tx weight safer ( #2180 )
...
Currently it fails on fuzz tests. Also type conversion to i32 is
dangerous per se
2018-12-18 11:19:19 -08:00
John Tromp
f43df5f601
[Floonet] add feature for height locked kernels ( #2168 )
...
* add feature for height locked kernels
* add function to compute kernel features appropriate for lock height, and use it
* only sign kernel-features relevant fields; refactor Features
* simplify invalid kernel logic
* remove unused height arg to reward::output and run some rustfmt
* replace nested if/else by match
2018-12-18 18:26:34 +00:00
Yeastplume
aa9da6838b
rename tx log entry field tx_hex -> stored_tx ( #2181 )
2018-12-18 16:44:03 +00:00
Yeastplume
230fe191e0
[Floonet] Use switch commits for all blinding factors ( #2178 )
...
* move wallet mods back into dirs
* move wallet mod files
* use switched keys for blinding factor in all cases
* rustfmt
* test fix
* test fix
* test fix
* rustfmt
* re-implement flag to turn off switch commit derivation
* rustfmt
2018-12-18 15:44:55 +00:00
jaspervdm
75d2c1cc56
Switch commitments ( #2157 )
2018-12-18 11:51:44 +00:00
Blade Doyle
590ea33484
Enhance share rejection messages to include nonce and hash ( #2173 )
2018-12-18 11:12:05 +00:00
Yeastplume
fcec70d1e3
Fix for #2169 ( #2170 )
...
* return all matching tx entries from retrieve_txs
* rustfmt
2018-12-17 10:40:48 +00:00
Gary Yu
ea1c3a9d4d
fix get_locator which loop the whole headers ( #2159 )
2018-12-17 07:29:49 +08:00
Ignotus Peverell
b2178f5665
Merge branch 'master' into gen_gen
2018-12-16 19:48:05 +00:00
Antioch Peverell
c188b60a38
readonly verify_coinbase_maturity ( #2164 )
...
* move verify_coinbase_maturity into utxo_view
no longer need a write lock on txhashset
* rustfmt
2018-12-16 09:26:39 +00:00
Antioch Peverell
a50dcbfaa5
less txhashset locking ( #2163 )
...
* less txhashset locking
* rework server stats a bit
2018-12-16 09:26:17 +00:00
Antioch Peverell
9a4895c86a
take lock once in get_header_for_output ( #2161 )
2018-12-15 20:44:33 +00:00
Quentin Le Sceller
d6131f2716
Merge pull request #2162 from kargakis/wallet-docs
...
Wallet docs markdown fixes
2018-12-15 15:13:38 -05:00
Michalis Kargakis
85074f8356
Wallet docs markdown fixes
2018-12-15 20:43:53 +01:00
Gary Yu
197d4f9575
TUI mining server status: add blocks found statistics ( #2151 )
...
* TUI mining server status: add solutions found statistics
* rustfmt
* modify 'solutions found' as 'blocks found'
2018-12-15 10:10:33 +08:00
Ignotus Peverell
cb0d09c492
Fix genesis hash test
2018-12-14 22:35:59 +00:00
Ignotus Peverell
052981d596
rustfmt
2018-12-14 22:13:05 +00: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
Yeastplume
8e678058f1
[WIP] Store completed transactions in files instead of DB ( #2148 )
...
Store completed transactions in files instead of DB
2018-12-14 16:24:53 +00:00
Gary Yu
32a7c309e7
TUI basis status text align ( #2150 )
...
* tui basic status text align
* rustfmt
2018-12-14 22:38:05 +08:00
Gary Yu
e6bc6e060e
fix travis-ci test suite for wallet_command_line test ( #2155 )
2018-12-14 22:37:45 +08: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
Antioch Peverell
7ae22eff2b
add hash() to tip for safety ( #2145 )
2018-12-13 13:44:50 +00:00
Yeastplume
df62fd6d95
Coin selection with small amounts fix ( #2144 )
...
* coin selection fix for sending with an amount <= smallest output
* rustfmt
2018-12-13 11:19:46 +00:00
Antioch Peverell
793e3843f0
HeaderEntry for storing subset of header info in the header MMR ( #2137 )
...
* HeaderEntry for storing subset of header info in the header MMR
* cleanup
* cleanup
2018-12-13 09:57:24 +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
Antioch Peverell
675edb4a19
TUI Mining Screen (block hash and block height) ( #2142 )
...
* add block hash to tui mining diff screen
include current header in there also
* rework the mining screen on the tui
show block hash as well as block height
fix the "off by one" error
2018-12-12 11:41:42 -08:00
Antioch Peverell
305b36dcce
replace is_mainnet() with !is_testnet() ( #2125 )
...
* replace is_mainnet() with !is_testnet()
makes testing "mainnet" code significantly easier (its the default)
* fix next_target_adjustment test based on tromp analysis
* rustfmt
* cleanup wallet db files and add to gitignore
* fix
2018-12-12 16:49:35 +00:00
Mark Renten
ed9c1acec1
offline build not possible right now closes #2139 ( #2141 )
...
* remove (almost) all unwrap calls
* replace with ? operator
* build script will now work offline and in many other scenarios where the web wallet may not be downloaded
2018-12-12 15:33:30 +00:00
Yeastplume
901c665ba7
Wallet tests, bug fixes ( #2138 )
...
* More tests for smallest selection, resulting bug fixes, remove unneeded TXLogEntryTypes
* rustfmt
2018-12-12 13:38:29 +00:00
Antioch Peverell
a0b9aa5967
Sign kernel features ( #2104 )
...
* include kernel features in msg being signed
hash the msg before signing it (for consistent 32 bytes)
* rustfmt
* fix various tests
* no HF for this (mainnet only)
2018-12-12 09:19:36 +00:00