Commit graph

264 commits

Author SHA1 Message Date
lehnberg
7434eca5d0
update Dandelion documentation (2.x.x) (#2942)
* update dandelion documentation as per PR#2723
* remove dandelion simulation docs as per PR#2723
2019-07-08 15:18:21 +01:00
Quentin Le Sceller
ee9b9fe763
Update minimum required rust version and dockerfile (#2858) 2019-05-28 11:02:10 -04:00
hashmap
9c32321c57
Fix the curve name in one section of intro (#2823) 2019-05-17 22:03:17 +02:00
Max Levy
136a4ba207 a tiny clarification about the point H (#2774)
IMHO, introducing the point _H_ explicitly makes the explanation arguably a bit more clear
2019-05-14 14:05:54 -07:00
Daogang Tang
15b56a97f5 docs: fix typo. (#2816)
Signed-off-by: Mike Tang <daogangtang@gmail.com>
2019-05-13 14:47:09 -07:00
fresheneesz
7f12b45a34 Updating the (dead) link to the transaction UML (#2798) 2019-05-02 15:16:04 -04:00
Yeastplume
12fe928112
merge master into 1.1.0 2019-04-16 11:24:43 +01:00
Aidan_MegaSolar
dbbad7be03 [DOC] Translation some files in doc dir. (#2750)
*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

* remove some useless md files for translation. this is rearrange set up translation order.

*  add dot end of sentence & translate build.md in korean

*  remove fast-sync_KR.md

*  finish build_KR.md translation

*  finish build_KR.md translation

*  finish translation state_KR.md & add phrase in state.md to move other language md file

* translate blocks_and_headers.md && chain_sync.md in Korean

*  add . in chain_sync.md , translation finished in doc/chain dir.

* fix some miss typos

*  start to translate dandelion.md & simulation.md in Korean.

*  [WIP] translation

* [WIP] files add.

* [WIP] dandelion simulation

*  finish pruning translation

*  doc/dandelion translation in Korean finish

*  start to translation mmr, merkle, switch commitment in Korean

*  [WIP] merkle_KR.md

*  finish translation mmr.md & merkle.md

*  delete [WIP]switch_commitment_KR.md

*  add pow_KR.md for translation

*  finish translation grin4bitcoiners

*  fix for merge

*  fix for merge

*  fix for merge

* ,

* POW & grin4bitcoiner.md translated in Korean.

* fix some typo and cargo.lock
2019-04-12 15:32:11 -07:00
Yeastplume
5cb8025ddd
[1.1.0] Merge master into 1.1.0 (#2720)
* cleanup legacy "3 dot" check (#2625)

* Allow to peers behind NAT to get up to preferred_max connections (#2543)

Allow to peers behind NAT to get up to preffered_max connections

If peer has only outbound connections it's mot likely behind NAT and we should not stop it from getting more outbound connections

* Reduce usage of unwrap in p2p crate (#2627)

Also change store crate a bit

* Simplify (and fix) output_pos cleanup during chain compaction (#2609)

* expose leaf pos iterator
use it for various things in txhashset when iterating over outputs

* fix

* cleanup

* rebuild output_pos index (and clear it out first) when compacting the chain

* fixup tests

* refactor to match on (output, proof) tuple

* add comments to compact() to explain what is going on.

* get rid of some boxing around the leaf_set iterator

* cleanup

* [docs] Add switch commitment documentation (#2526)

* remove references to no-longer existing switch commitment hash

(as switch commitments were removed in ca8447f3bd
and moved into the blinding factor of the Pedersen Commitment)

* some rewording (points vs curves) and fix of small formatting issues

* Add switch commitment documentation

* [docs] Documents in grin repo had translated in Korean.  (#2604)

*  Start to M/W intro translate in Korean
*  translate in Korean
*  add korean translation  on intro
* table_of_content.md translate in Korean.
*  table_of_content_KR.md finish translate in Korean, start to translate State_KR.md
*  add state_KR.md & commit some translation in State_KR.md
*  WIP stat_KR.md translation
*  add build_KR.md && stratum_KR.md
*  finish translate stratum_KR.md & table_of_content_KR.md
*  rename intro.KR.md to intro_KR.md
*  add intro_KR.md file path each language's  intro.md
*  add Korean translation file path to stratum.md & table_of_contents.md
*  fix difference with grin/master

* Fix TxHashSet file filter for Windows. (#2641)

* Fix TxHashSet file filter for Windows.

* rustfmt

* Updating regexp

* Adding in test case

* Display the current download rate rather than the average when syncing the chain (#2633)

* When syncing the chain, calculate the displayed download speed using the current rate from the most recent iteration, rather than the average download speed from the entire syncing process.

* Replace the explicitly ignored variables in the pattern with an implicit ignore

* remove root = true from editorconfig (#2655)

* Add Medium post to intro (#2654)

Spoke to @yeastplume who agreed it makes sense to add the "Grin Transactions Explained, Step-by-Step" Medium post to intro.md

Open for suggestions on a better location.

* add a new configure item for log_max_files (#2601)

* add a new configure item for log_max_files

* rustfmt

* use a constant instead of multiple 32

* rustfmt

* Fix the build warning of deprecated trim_right_matches (#2662)

* [DOC] state.md, build.md and chain directory documents translate in Korean.  (#2649)

*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

* remove some useless md files for translation. this is rearrange set up translation order.

*  add dot end of sentence & translate build.md in korean

*  remove fast-sync_KR.md

*  finish build_KR.md translation

*  finish build_KR.md translation

*  finish translation state_KR.md & add phrase in state.md to move other language md file

* translate blocks_and_headers.md && chain_sync.md in Korean

*  add . in chain_sync.md , translation finished in doc/chain dir.

* fix some miss typos

* Api documentation fixes (#2646)

* Fix the API documentation for Chain Validate (v1/chain/validate).  It was documented as a POST, but it is actually a GET request, which can be seen in its handler ChainValidationHandler
* Update the API V1 route list response to include the headers and merkleproof routes.  Also clarify that for the chain/outputs route you must specify either byids or byheight to select outputs.

* refactor(ci): reorganize CI related code (#2658)

Break-down the CI related code into smaller more maintainable pieces.

* Specify grin or nanogrins in API docs where applicable (#2642)

* Set Content-Type in API client (#2680)

* Reduce number of unwraps in chain crate (#2679)

* fix: the restart of state sync doesn't work sometimes (#2687)

* let check_txhashset_needed return true on abnormal case (#2684)

*  Reduce number of unwwaps in api crate  (#2681)

* Reduce number of unwwaps in api crate

* Format use section

* Small QoL improvements for wallet developers (#2651)

* Small changes for wallet devs

* Move create_nonce into Keychain trait

* Replace match by map_err

* Add flag to Slate to skip fee check

* Fix secp dependency

* Remove check_fee flag in Slate

* Add Japanese edition of build.md (#2697)

* catch the panic to avoid peer thread quit early (#2686)

* catch the panic to avoid peer thread quit before taking the chance to ban
* move catch wrapper logic down into the util crate
* log the panic info
* keep txhashset.rs untouched
* remove a warning

* [DOC] dandelion.md, simulation.md ,fast-sync.md and pruning.md documents translate in Korean. (#2678)

* Show response code in API client error message (#2683)

It's hard to investigate what happens when an API client error is
printed out

* Add some better logging for get_outputs_by_id failure states (#2705)

* Switch commitment doc fixes (#2645)

Fix some typos and remove the use of parentheses in a
couple of places to make the reading flow a bit better.

* docs: update/add new README.md badges (#2708)

Replace existing badges with SVG counterparts and add a bunch of new ones.

* Update intro.md (#2702)

Add mention of censoring attack prevented by range proofs

* use sandbox folder for txhashset validation on state sync (#2685)

* use sandbox folder for txhashset validation on state sync

* rustfmt

* use temp directory as the sandbox instead actual db_root txhashset dir

* rustfmt

* move txhashset overwrite to the end of full validation

* fix travis-ci test

* rustfmt

* fix: hashset have 2 folders including txhashset and header

* rustfmt

* 
(1)switch to rebuild_header_mmr instead of copy the sandbox header mmr 
(2)lock txhashset when overwriting and opening and rebuild

* minor improve on sandbox_dir

* add Japanese edition of state.md (#2703)

* Attempt to fix broken TUI locale (#2713)

Can confirm that on the same machine 1.0.2 TUI looks great and is broken on
the current master. Bump of `cursive` version fixed it for me.
Fixes #2676

* clean the header folder in sandbox (#2716)

* forgot to clean the header folder in sandbox in #2685

* Reduce number of unwraps in servers crate (#2707)

It doesn't include stratum server which is sufficiently changed in 1.1
branch and adapters, which is big enough for a separate PR.

* rustfmt

* change version to beta
2019-04-01 11:47:48 +01:00
34ro
82b1cf85d6 add Japanese edition of state.md (#2703) 2019-03-29 15:25:41 -07:00
GandalfThePink
ba6f12c70b Update intro.md (#2702)
Add mention of censoring attack prevented by range proofs
2019-03-26 11:40:35 -07:00
Michalis Kargakis
994ed85d90 Switch commitment doc fixes (#2645)
Fix some typos and remove the use of parentheses in a
couple of places to make the reading flow a bit better.
2019-03-26 13:45:57 +01:00
Aidan_MegaSolar
73a46c6190 [DOC] dandelion.md, simulation.md ,fast-sync.md and pruning.md documents translate in Korean. (#2678) 2019-03-23 13:50:26 -07:00
34ro
148256de6e Add Japanese edition of build.md (#2697) 2019-03-23 13:37:11 -07:00
Mark Renten
7678aceddf Specify grin or nanogrins in API docs where applicable (#2642) 2019-03-11 15:58:08 -07:00
Peter Mrekaj
c0880443c0 refactor(ci): reorganize CI related code (#2658)
Break-down the CI related code into smaller more maintainable pieces.
2019-03-11 23:23:16 +08:00
Agreene
a7a160a5d4 Api documentation fixes (#2646)
* Fix the API documentation for Chain Validate (v1/chain/validate).  It was documented as a POST, but it is actually a GET request, which can be seen in its handler ChainValidationHandler
* Update the API V1 route list response to include the headers and merkleproof routes.  Also clarify that for the chain/outputs route you must specify either byids or byheight to select outputs.
2019-03-10 20:18:21 -07:00
Aidan_YOUNGJUN
42fee8d1a5 [DOC] state.md, build.md and chain directory documents translate in Korean. (#2649)
*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

*  add md files for translation.

*  start to translation fast-sync, code_structure. add file build_KR.md, states_KR.md

* add dandelion_KR.md && simulation_KR.md for Korean translation.

* remove some useless md files for translation. this is rearrange set up translation order.

*  add dot end of sentence & translate build.md in korean

*  remove fast-sync_KR.md

*  finish build_KR.md translation

*  finish build_KR.md translation

*  finish translation state_KR.md & add phrase in state.md to move other language md file

* translate blocks_and_headers.md && chain_sync.md in Korean

*  add . in chain_sync.md , translation finished in doc/chain dir.

* fix some miss typos
2019-03-10 20:17:12 -07:00
Brandon Arvanaghi
7fd2970971 Add Medium post to intro (#2654)
Spoke to @yeastplume who agreed it makes sense to add the "Grin Transactions Explained, Step-by-Step" Medium post to intro.md

Open for suggestions on a better location.
2019-03-06 09:21:34 +00:00
Aidan_YOUNGJUN
d73124c469 [docs] Documents in grin repo had translated in Korean. (#2604)
*  Start to M/W intro translate in Korean
*  translate in Korean
*  add korean translation  on intro
* table_of_content.md translate in Korean.
*  table_of_content_KR.md finish translate in Korean, start to translate State_KR.md
*  add state_KR.md & commit some translation in State_KR.md
*  WIP stat_KR.md translation
*  add build_KR.md && stratum_KR.md
*  finish translate stratum_KR.md & table_of_content_KR.md
*  rename intro.KR.md to intro_KR.md
*  add intro_KR.md file path each language's  intro.md
*  add Korean translation file path to stratum.md & table_of_contents.md
*  fix difference with grin/master
2019-02-28 10:11:04 -08:00
Johannes Zweng
204288295d [docs] Add switch commitment documentation (#2526)
* remove references to no-longer existing switch commitment hash

(as switch commitments were removed in ca8447f3bd
and moved into the blinding factor of the Pedersen Commitment)

* some rewording (points vs curves) and fix of small formatting issues

* Add switch commitment documentation
2019-02-27 14:20:20 -08:00
Yeastplume
ea4b4fc389
Remove wallet code [1.1.0] (#2593)
* Bump version to 1.1.0

* remove wallet crate

* wallet extracted + mine_block structs

* remove wallet doc

* remove unnecessary cargo deps

* rustfmt

* remove wallet from travis matrix

* move integration tests into separate crate

* rustfmt

* move integration crate to wallet
2019-02-21 11:57:45 +00:00
Yoni Svechinsky
ee4eed71ea Feature/slate serialization (#2534)
* - Add backwards compatability
- Add hex serialization

* rustfmt

* rustfmt

* Windows Compatibility Fixes #1 (#2535)

* initial changes for windows build and unit/integration tests

* rustfmt

* wallet+store tests

* rustfmt

* fix linux daemonize

* better encapsulate file rename

* rustfmt

* remove daemonize commands

* rustfmt

* remove server start/stop commands

* add ability to drop pmmr backend files explicitly for txhashset unzip

* rustfmt

* fix pmmr tests

* rustfmt

* Windows TUI Fix (#2555)

* switch pancurses backend to win32

* revert changes to restore test

* compatibility fix + debug messages

* rustfmt

* Add content disposition for OK responses  (#2545)

* Testing http send and fixing accordingly

* add repost method into wallet owner api (#2553)

* add repost method into wallet owner api

* rustfmt

* Add ability to compare selection strategies (#2516)

Before tx creation user can estimate fee and locked amount
with different selection strategies by providing `-e` flag for
`wallet send` command.
2019-02-13 13:29:44 +00:00
Peter Kalambet
d6936f0ae7 Add more details to wallet TLS setup instruction (#2565) 2019-02-13 00:22:41 +01:00
Gary Yu
5987bcde19 add repost method into wallet owner api (#2553)
* add repost method into wallet owner api

* rustfmt
2019-02-12 13:39:43 +00:00
Rodrigo Ferreira
a735fd1bc6 [docs] Brazilian Portuguese translation of intro.md (#2522)
* Translate intro.md to portuguese

* Spell-checking and minor improvements to the portuguese translation
2019-02-06 09:41:14 -08:00
marcuswin
987fa033ed Fix link on BPASE (#2512) 2019-02-01 16:47:01 +00:00
Anthony Morris
7646e71810 Fix minor typo (#2507) 2019-02-01 11:01:26 +00:00
Ramin Soltanzadeh
0fc7dff0d6
Create intro_SE.md 2019-01-31 00:37:41 +01:00
Simon B
0e0ec247e4 fix owner_api docs: wrong port number (#2442)
* fix owner_api docs: wrong port number

* update ports since PR #2405. We now allow both floo and mainnet owner_apis to run in parallell on a single server, with ports 13420 or 3420

* correction since there is no --mainnet flag

* fixes the comment by @karkagis
2019-01-25 10:08:08 +00:00
gagarin55
d9c38ae654 Fixed some typos in russian intro and code structure docs 2019-01-24 16:03:36 +03:00
姜家志
f3884f57b6 In the Requirements, add the software that needs to be installed for the Mac System (#2367) 2019-01-22 13:41:34 +00:00
Oliver Simon
89a1373916 Update translation links and naming scheme (#2357)
* Update translation links and naming scheme

* Improve german translation of intro.md
2019-01-22 13:41:06 +00:00
JackRack
a88d66d9ab Fixed non existing url (#2337)
Added url of wallet user guide on how to use Grin
2019-01-22 13:40:25 +00:00
Michalis Kargakis
cba93e2121 Update build docs instructions (#2428) 2019-01-22 13:39:29 +00:00
Woodstock
7ea370d33a correct spelling of macOS (#2422) 2019-01-18 17:49:20 +00:00
James
bb933dcd69 Update ports for mainnet in API doc (#2406) 2019-01-18 08:55:05 +00:00
Lucas Clemente Vella
320fc78673 Updated default API port. (#2400)
Grin 1.0.0 uses port as API default.
2019-01-16 17:26:35 -08:00
Tomas Susanka
4743286713 Improve introduction images in doc's PoW section (#2393) 2019-01-16 10:45:23 -08:00
Antioch Peverell
5c6abd5e22
1440 confs (#2376) 2019-01-14 13:29:12 +00:00
ProxyM8
6ea95cd764 Add Japanese white paper link and fix errors (#2341) 2019-01-11 15:52:56 -08:00
Oliver Simon
c452dd06f3 Add: German translation of intro.md (#2338)
* Add: German translation of intro.md
* Update intro_DE.md
2019-01-11 15:52:25 -08:00
Isaac Cook
4eeedb0877 Fix doc dump_stored_tx -> retrieve_stored_tx (#2329)
It appears the method call in https://github.com/mimblewimble/grin/blob/master/wallet/src/controller.rs got renamed for consistency and this got missed.
2019-01-10 09:09:56 -05:00
Quentin Le Sceller
5eaf0e6989 Fix confidential transactions link (#2307) 2019-01-07 10:03:33 +00:00
Ducem Barr
a3431fb147 feat: Configuration option to include foreign API endpoints in the owner API (#2305)
* Allow foreign API over owner API port

* Tests for owner_api_include_foreign config option
2019-01-07 10:00:52 +00:00
Yeastplume
b927c10b01
Update libsecp version and a few trivial enhancements (#2304)
* update libsecp version and a few trivial enhancements

* update grin_secp version number
2019-01-06 21:18:02 +00:00
Quentin Le Sceller
8e4c36714f Fix doc typo (#2303) 2019-01-06 12:28:18 -08:00
Quentin Le Sceller
a1dbf68254
Merge pull request #2290 from kargakis/clarify
Provide link to basic auth wiki
2019-01-06 14:34:52 -05:00
Tsai1993
3249d77af6 a bit typo fix on intro (#2299)
* typo fixed
2019-01-07 00:02:16 +08:00
Michalis Kargakis
3af020f199
Provide link to basic auth wiki 2019-01-05 14:51:21 +01:00