Ignotus Peverell
038e21859a
fix: add missing API in list ( #1847 )
...
Closes #1653
* Replace query parameter values with placeholders
* fix: replace wrong query parameter
* Extent query explanation
* Add missing port parameter
2018-10-27 10:36:25 -07:00
hashmap
456cd0318a
Add missing port parameter
...
Co-Authored-By: haarts <harmaarts@gmail.com>
2018-10-27 10:06:01 +02:00
Ignotus Peverell
bb5392548f
Take 2
2018-10-26 16:28:15 -07:00
Gary Yu
6a788e8a9a
tui: adjust the table column width ( #1848 )
2018-10-27 07:12:54 +08:00
Ignotus Peverell
6f3ae4563a
Small test fix
2018-10-26 16:07:12 -07:00
Ignotus Peverell
1121a38bd5
Logger fix
2018-10-26 15:35:21 -07:00
eupn
495c9ded58
Use temporary file to save bitmaps ( #1840 )
2018-10-26 20:50:26 +02:00
eupn
ee5d6859fc
Translate introduction to russian ( #1846 )
2018-10-26 20:46:20 +02:00
Harm Aarts
930ceccdba
Extent query explaination
2018-10-26 17:18:06 +02:00
Harm Aarts
46c862297d
fix: replace wrong query parameter
2018-10-26 17:09:07 +02:00
Harm Aarts
365814303d
Replace query parameter values with placeholders
2018-10-26 17:07:46 +02:00
Harm Aarts
322552dde4
fix: add missing API in list
...
Closes #1653
2018-10-26 15:28:43 +02:00
Ignotus Peverell
c083312ad4
Improve crate descriptors to be more cargo-friendly ( #1844 )
...
* Update secp dependency to use crates.io version
* Add more details to various Cargo.toml
* Remove use of env variables that aren't reliably provided by cargo
2018-10-25 17:44:50 -07:00
Ignotus Peverell
a42d66efff
Merge branch 'master' into unitdiff
2018-10-25 14:20:41 -07:00
hashmap
b889069722
Make sure the entire buffer was written ( #1842 )
...
We may write just a part of the buffer and we don't check the result, so
write_all is probably what we need here
2018-10-25 10:46:31 -07:00
eupn
58e68a867e
Remove unwrap() and add tx. pool error member to Error enum ( #1839 )
2018-10-25 16:00:39 +02:00
eupn
711fad6c24
Remove TODO for counting of bytes that was already done ( #1838 )
2018-10-25 15:57:53 +02:00
hashmap
ab7a59b1c2
Pool crate cleanup ( #1835 )
...
* Refactor retrieve_transaction
* Cleanup transaction_pool
2018-10-25 14:21:36 +02:00
Antioch Peverell
4050f7fccb
handle re-orgs in transaction_pool ( #1829 )
...
* use reorg_cache in transaction_pool to safely handle txs during a re-org
* rustfmt
* comments
2018-10-24 17:57:31 +01:00
eupn
3d74d7fe85
Fix path to log file in panic message ( #1815 )
2018-10-24 09:13:57 -07:00
Quentin Le Sceller
c343c65051
Remove fluff in SendTXArgs ( #1825 )
2018-10-24 12:10:40 +02:00
Yeastplume
029450a5ce
remove file wallet ( #1824 )
2018-10-24 11:03:50 +01:00
Antioch Peverell
3d59cce7c5
rework pool tx validation logic a bit ( #1826 )
2018-10-24 10:55:42 +01:00
hashmap
3efa7bdac9
Small style changes in core crate ( #1816 )
2018-10-23 21:09:16 +02:00
Antioch Peverell
a433725b5d
Actually cleanup old blocks if archive_mode=false ( #1814 )
...
* actually cleanup old blocks if not in archive mode
* rustfmt
2018-10-23 13:59:43 +01:00
Antioch Peverell
38cbd6eafb
full node == fast sync (no full archival guarantees) ( #1809 )
...
* wip - fast sync only
* wip
* cleanup
* cleanup
* cleanup comments in default config file around capabilities
* fixup p2p tests
2018-10-23 13:01:19 +01:00
Ignotus Peverell
a4a4c5610f
Cleanup sync loop ( #1811 )
...
* Add a struct to encapsulate common references and avoid passing
them around on every function.
* Consolidate `skip_sync_wait` and `awaiting_peers` in an
additional sync status.
* New awaiting peer status is initial too
2018-10-22 22:50:13 -07:00
Ignotus Peverell
7f60e2076d
Default last connected to migrate older db ( #1812 )
...
Fixes backward compatibility issue with #1794
2018-10-22 18:15:10 -07:00
jaspervdm
64d584c2c6
Fix scaling diff in blocks for mining ( #1796 )
2018-10-22 14:34:23 -07:00
Ignotus Peverell
f4eb116fbf
Minor update to seed module documentation
2018-10-22 14:03:46 -07:00
eupn
8f42f7306c
feat: remove expired peers from the storage ( #1794 )
...
* Initial expired peers removal
* Stop expired peers
* Simplify peer removal and remove only Defunct peers
* Make seed to check for expired peers every hour
* Get rid of unused vector of peers to remove
* Make peer deletion predicate closure immutable
2018-10-22 13:59:40 -07:00
Quentin Le Sceller
5f2e8db092
Fix shift by 1 block in TUI ( #1780 ) ( #1810 )
...
* Fix shift by 1 block in TUI (#1780 )
* Only use graph_weight
* Fix shift by 1 in block
* Remove debug logging
2018-10-22 10:44:14 -07:00
Quentin Le Sceller
d11088c987
Fix build error ( #1803 )
...
* Fix build error
* Cargo Lock
2018-10-21 23:56:42 +02:00
eupn
1195071f5b
Replace logging backend to log4rs and add log rotation ( #1789 )
...
* Replace logging backend to flexi-logger and add log rotation
* Changed flexi_logger to log4rs
* Disable logging level filtering in Root logger
* Support different logging levels for file and stdout
* Don't log messages from modules other than Grin-related
* Fix formatting
* Place backed up compressed log copies into log file directory
* Increase default log file size to 16 MiB
* Add comment to config file on log_max_size option
2018-10-21 13:30:56 -07:00
Quentin Le Sceller
0852b0c4cf
Expose post_tx in OwnerAPI Post ( #1795 )
...
* Add POST post_tx in wallet_owner_api
* Add docs for post_tx
2018-10-21 13:26:35 -07:00
Gary Yu
0d06561a91
replace stdlib RwLock and Mutex with parking_lot ( #1793 )
...
* replace all stdlib RwLock with parking_lot RwLock
* replace stdlib Mutex with parking_lot Mutex
* rustfmt
2018-10-20 08:13:07 +08:00
John Tromp
1cfc474817
forgot to take out assert
2018-10-19 22:21:13 +02:00
John Tromp
e1b5d7f3c2
revert secondary scaling default in HeaderInfo; rename scaling_difficulty; refactor difficulty_data_to_vector
2018-10-19 21:39:54 +02:00
RJ Rybarczyk
f2949efbfd
Make check_api_secret_file fn private ( #1792 )
2018-10-19 18:12:34 +08:00
hashmap
422b98030f
Add wallet TLS setup doc ( #1786 )
...
Add wallet TLS setup doc
2018-10-19 10:50:59 +02:00
John Tromp
b1ebfe1c73
found last few instrances of Difficulty::one
2018-10-18 23:29:32 +02:00
John Tromp
846b38308c
replace all Difficulty::one by ::min
2018-10-18 21:18:16 +02:00
John Tromp
41293e9ef7
improve minimum difficulty handling
2018-10-18 20:37:33 +02:00
John Tromp
b56fae6f30
Merge remote-tracking branch 'remotes/upstream/master' into unitdiff
...
need fix to run my tests
2018-10-18 20:30:31 +02:00
hashmap
ecb102e442
Fix tests cleanup ( #1788 )
...
It caused test failures during switching between master and t4 branches,
also could cause other strange errors.
2018-10-18 20:07:32 +02:00
eupn
a11778bf68
fix: mark potential coinbase outputs as mining instead of unconfirmed in wallet ( #1787 )
...
* Mark unconfirmed coinbase outputs as "Mining" instead of "Unconfirmed"
* Fix formatting
2018-10-18 15:42:31 +02:00
John Tromp
e24e65399b
rename MIN_DIFFICULTY to UNIT_DIFFICULTY; define Difficulty::unit, fix INITIAL_DIFFICULTY
2018-10-18 14:20:00 +02:00
yeastplume
545d9d6116
t4 merge - rustfmt on entire tree
2018-10-18 11:40:58 +01:00
yeastplume
6980278b95
merge T4 into master - rustfmt
2018-10-18 11:23:22 +01:00
yeastplume
f94ede9af3
merge T4 into master
2018-10-18 11:23:04 +01:00