Address issue #17 and remove duplicate code. This is part one, which takes a major step toward removing duplicate code
Implementation
This PR does two main things:
It uses the InitializeTest function currently only used in the "graphsync-transfer" testcase in the IPFS transfer test case as well.
It removes the "sparse" and "waves" testcases, which were near identical to the IPFS testcase and prone to getting out of date.
To remove "waves", we simply copy the waves fetching function into the "ipfs-transfer" case, with the insight that num_waves=1 essentially reduces this code to the existing fetch function in "ipfs-transfer"
To remove "sparse", we add a dialer param that configures how nodes dial each other -- the default dials all nodes, while the sparse dialer dials in the pattern used in the sparse test.
Goals
Address issue #17 and remove duplicate code. This is part one, which takes a major step toward removing duplicate code
Implementation
This PR does two main things:
To remove "waves", we simply copy the waves fetching function into the "ipfs-transfer" case, with the insight that num_waves=1 essentially reduces this code to the existing fetch function in "ipfs-transfer"
To remove "sparse", we add a dialer param that configures how nodes dial each other -- the default dials all nodes, while the sparse dialer dials in the pattern used in the sparse test.
I also updated the RFCs as needed.