Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/giant contracts extend cli #10

Open
wants to merge 5 commits into
base: dev/giant-contracts
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ src/qt/moc_*.cpp
src/qt/test/moc_*.cpp
*.moc
src/config/*
depends/*

# Test generated files
src/test/data/*.h
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ libbitcoin_server_a_SOURCES = \
rpcmisc.cpp \
rpcnet.cpp \
rpcrawtransaction.cpp \
rpccontracts.cpp \
rpcserver.cpp \
script/sigcache.cpp \
timedata.cpp \
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ BITCOIN_TESTS =\
test/netbase_tests.cpp \
test/pmt_tests.cpp \
test/rpc_tests.cpp \
test/rpccontracts_tests.cpp \
test/sanity_tests.cpp \
test/script_P2SH_tests.cpp \
test/script_tests.cpp \
Expand Down
9 changes: 9 additions & 0 deletions src/rpcclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ static const CRPCConvertParam vRPCConvertParams[] =
{"setstakesplitthreshold", 0},
{"autocombinerewards", 0},
{"autocombinerewards", 1},
{"contractdeploy", 0},
{"contractcall", 0},
{"contractaddress", 0},
{"contractinfo", 0},
{"contractcode", 0},
{"contractbalance", 0},
{"contractstatus", 0},
{"contractdeployestimate", 0},
{"contractcallestimate", 0},
{"autocombinerewards", 2}};

class CRPCConvertTable
Expand Down