Skip to content

Conversation

@dcousens
Copy link
Contributor

This pull request adds tests for ECKey.makeRandom, which has previously not been under appropriate test.
It uses a stubbed RNG as the secure-random RNG is not the focus of this test.

secure-random was also upgraded to version 1.0.0 to use randomBuffer.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 39a85dc on dcousens:rand into d93623e on bitcoinjs:master.

@dcousens
Copy link
Contributor Author

The test failure is yet again the non-locking faucet propagation problem with helloblock. @locksley @sidazhang any news on a fix for this?

src/eckey.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same problem as bitcoinjs/bip39#4 (comment)

@kyledrake
Copy link
Contributor

+1 when the rng.randomBuffer issue is addressed.

@dcousens
Copy link
Contributor Author

Rebased on HEAD.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) when pulling 89f0324 on dcousens:rand into 0198477 on bitcoinjs:master.

@dcousens
Copy link
Contributor Author

Tests pass, just coveralls crying at the rebase.

kyledrake added a commit that referenced this pull request Jun 26, 2014
ECKey: adds tests for makeRandom
@kyledrake kyledrake merged commit df743e5 into bitcoinjs:master Jun 26, 2014
@dcousens dcousens deleted the rand branch June 27, 2014 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants