Skip to content

Commit c7f73bf

Browse files
authored
Create MiningCommand.java
1 parent a2fff92 commit c7f73bf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package multichain.command;
2+
3+
import multichain.command.builders.QueryBuilderMining;
4+
5+
public class MiningCommand extends QueryBuilderMining {
6+
public MiningCommand(String ip, String port, String login, String password) {
7+
initialize(ip, port, login, password);
8+
}
9+
10+
public Object pauseMining() throws MultichainException {
11+
return executePauseMining();
12+
}
13+
14+
public Object resumeMining() throws MultichainException {
15+
return executeResumeMining();
16+
}
17+
18+
}

0 commit comments

Comments
 (0)