Skip to content

Additional rpc tests - #5530

Merged
laanwj merged 1 commit into
bitcoin:masterfrom
RhettCreighton:additional_rpc_tests
Dec 29, 2014
Merged

laanwj merged 1 commit into
bitcoin:masterfrom
RhettCreighton:additional_rpc_tests

Conversation

@RhettCreighton

Copy link
Copy Markdown
Contributor

I went through this list and noticed that many RPC calls were untested in the test suite:
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

This is meant to at least provide a sanity check for RPC calls that are trivial to test.

@laanwj

laanwj commented Dec 23, 2014

Copy link
Copy Markdown
Member

ACK after squash

@laanwj

laanwj commented Dec 23, 2014

Copy link
Copy Markdown
Member

BTW, no need to open a new pull every time you change something, you can just (force-)push to the same branch on github.

listsinceblock, listtransactions, listlockunspent, listaccounts
listaddressgroupings
@RhettCreighton

Copy link
Copy Markdown
Contributor Author

Thank you, I squashed to 1 commit.

@fanquake

Copy link
Copy Markdown
Member

Tested ACK

@jonasschnelli

Copy link
Copy Markdown
Contributor

utACK

@laanwj
laanwj merged commit 7c5dd60 into bitcoin:master Dec 29, 2014
laanwj added a commit that referenced this pull request Dec 29, 2014
7c5dd60 Adding RPC tests for the following wallet related calls: getbalance, listsinceblock, listtransactions, listlockunspent, listaccounts listaddressgroupings (Everett Forth)
@laanwj

laanwj commented Dec 29, 2014

Copy link
Copy Markdown
Member

BTW; adding a few sanity-check unit tests here was good, however just for info the majority of testing RPC functionality happens in the Python RPC tests in qa/rpc-tests. It's easier to do there as it is possible to spin up extra nodes, simulate a network of nodes, etc.

0xartem pushed a commit to Crowndev/crown-core that referenced this pull request Aug 13, 2018
7c5dd60 Adding RPC tests for the following wallet related calls: getbalance, listsinceblock, listtransactions, listlockunspent, listaccounts listaddressgroupings (Everett Forth)

(cherry picked from commit 565b300)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants