-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deprecate OmniExtendedClient and all its methods * Create OmniTestClient to replace OmniExtendedClient in integration tests * Create OmniTestClientDelegate trait for use in tests * OmniCLIClient now extends OmniClient rather than OmniExtendedClient * Don’t use OmniCLIClient in most tests (use OmniTestClient instead) * OmniClientDelegate uses OmniClient (not OmniCLIClient) * OmniScriptingClient uses OmniClient (not OmniExtendedClient) * Fix issue with omni_senddexsell sending real number not string (note this is different from how BTC values are sent in standard Bitcoin RPCs)
- Loading branch information
1 parent
03e447e
commit 628faab
Showing
15 changed files
with
370 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
omnij-rpc/src/main/groovy/foundation/omni/rpc/OmniClientDelegate.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package foundation.omni.rpc | ||
|
||
/** | ||
* Groovy trait for adding a OmniCLIClient delegate to any class | ||
* Groovy trait for adding a OmniClient delegate to any class | ||
*/ | ||
trait OmniClientDelegate { | ||
@Delegate | ||
OmniCLIClient client | ||
OmniClient client | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
omnij-rpc/src/main/groovy/foundation/omni/test/OmniTestClientDelegate.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package foundation.omni.test | ||
|
||
import foundation.omni.rpc.OmniCLIClient | ||
import foundation.omni.rpc.test.OmniTestClient | ||
|
||
/** | ||
* Groovy trait for adding an OmniTestClient delegate to any class | ||
*/ | ||
trait OmniTestClientDelegate { | ||
@Delegate | ||
OmniTestClient client | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.