Comments (7)
Note: There seems to be a bug in Groovy 2.4.0 that occurs when the following lines are enabled in BitcoinCLIAPI.groovy
:
@SelfType(BitcoinClient)
@CompileStatic
I've filed bug GROOVY-7275 on Groovy JIRA.
I'm also seeing two issues in the current latest IntelliJ:
- IntelliJ doesn't seem to recognize the
@SelfType(BitcoinClient)
annotation yet and as a result can't find the methods called from the superclass. - IntelliJ is complaining about default parameters with the message: "Default Initializers are not allowed in abstract methods"
from omnij.
Groovy bug GROOVY-7275 is fixed in Groovy 2.4.1 and bitcoin-spock has been updated, so it may be time to try this again.
Although I'm thinking that it might be better if the "CLI" clients just warp the standard Java clients, rather than extend them, so traits may be less necessary.
from omnij.
That's great to hear.
Point 2 seems to be an issue of IntelliJ, and using default values appears to work just fine, despite the error tag. Given there are quite a few methods that could be reduced and merged by using defaults, even though the error is a bit distracting.
from omnij.
I need to renew my IntelliJ subscription and upgrade to the latest version. If the IntelliJ problems continue, I'll report them as bugs.
from omnij.
I'm currently using an EAP build of the v14.1 community edition, where the issue is still present.
from omnij.
I noticed in the latest EAP release notes "Good Groovy code red - traits with Generic" (IDEA-134978), however the issue related to default initializer values ("Default Initializers are not allowed in abstract methods") is still unfixed.
from omnij.
This is complete, except for completing the CLI clients. I've opened Issue #64 for that work.
from omnij.
Related Issues (20)
- how to generate a transaction with P2WPKH? HOT 5
- how to consolidate all address balance to one wallet and send from that wallet only? HOT 1
- Getting error while building jar HOT 12
- Create test for omni_funded_send
- Refactor omni-rest-client HOT 2
- Make "ignore all unknownJSON fields" the default setting in Jackson HOT 1
- Upgrade RegTests to use Omni Core 0.8.2 HOT 1
- Use latest JavaMoney/Moneta JDK 7 backport ("bp") version HOT 1
- Upgrade OmniJ to forthcoming ConsensusJ 0.5.1 HOT 1
- RegTests that use `AssumptionViolatedException` to skip feature tests broken on Spock 2/JUnit 5 HOT 1
- Reorg RegTests sometimes fail with `ProcessNewBlock, block not accepted` HOT 4
- Replace use of AssumptionViolatedException with JUnit 5 equivalent HOT 1
- Add support for P2SH-P2WPKH transactions (Segwit P2WPKH embedded in P2SH)
- Create Omni wallet HOT 1
- Taproot support HOT 2
- Upgrade to bitcoinj 0.16 HOT 1
- Any sample USDT send example for testnet ?
- How do I get the binary package of 0.5.8 HOT 1
- Intermittent failure in SendToOwnersTestPlanSpec.groovy HOT 8
- Remove long delay in re-org RegTests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omnij.