()
| 5668 | } |
| 5669 | |
| 5670 | public void afterConstruct() |
| 5671 | { |
| 5672 | // networks |
| 5673 | this.createNetworksByIdObject(); |
| 5674 | this.featuresGenerator(); |
| 5675 | // init predefined markets if any |
| 5676 | if (Helpers.isTrue(this.markets)) |
| 5677 | { |
| 5678 | this.setMarkets(this.markets); |
| 5679 | } |
| 5680 | // init the request rate limiter |
| 5681 | this.initRestRateLimiter(); |
| 5682 | // sanbox mode |
| 5683 | Object isSandbox = this.safeBool2(this.options, "sandbox", "testnet", false); |
| 5684 | if (Helpers.isTrue(isSandbox)) |
| 5685 | { |
| 5686 | this.setSandboxMode(isSandbox); |
| 5687 | } |
| 5688 | } |
| 5689 | |
| 5690 | public void initRestRateLimiter() |
| 5691 | { |
no test coverage detected