85 |
|
|
86 |
Example of setting up P2P: |
Example of setting up P2P: |
87 |
start the peer that publishes: |
start the peer that publishes: |
88 |
@fishy:~/ff/storm$ make peer ARGS="-pub pool -port 2000" |
make peer ARGS="-pub pool -port 2000" |
89 |
|
|
90 |
start a local peer that can fetch the blocks: |
start a local peer that can fetch the blocks: |
91 |
@fishy:~/ff/storm$ make peer ARGS="-gw 5000 -port 2001 localhost:2000" |
make peer ARGS="-gw 5000 -port 2001 localhost:2000" |
92 |
|
|
93 |
or, start a remote peer that can fetch the blocks: |
or, start a remote peer that can fetch the blocks: |
94 |
@himalia:~/ff/storm$ make peer ARGS="-gw 5000 -port 2000 fishy.it.jyu.fi:2000" |
make peer ARGS="-gw 5000 -port 2000 fishy.it.jyu.fi:2000" |
95 |
|
|
96 |
Notice, that the peer gateways can only list blocks that have already been |
Notice, that the peer gateways can only list blocks that have already been |
97 |
retrieved through them. So take the block id from http-gateway, or |
retrieved through them. So take the block id from http-gateway, or |