From 4f974237f026acb611232b5879a9433f8557402b Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Fri, 30 Jan 2026 10:12:26 -0800 Subject: [PATCH 1/2] Add Gradle license check plugin --- build.gradle | 2 + config/HEADER.txt | 13 +++ gradle/licenseCheck.gradle | 22 +++++ nix-deps.json | 164 ++++++++++++++++++++++++++++++++++--- 4 files changed, 191 insertions(+), 10 deletions(-) create mode 100644 config/HEADER.txt create mode 100644 gradle/licenseCheck.gradle diff --git a/build.gradle b/build.gradle index a9a126db..be6bb74c 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,7 @@ plugins { id 'net.ltgt.errorprone' version '4.3.0' apply false id 'org.asciidoctor.jvm.convert' version '4.0.5' id 'org.ajoberstar.git-publish' version '4.2.2' + id 'com.github.hierynomus.license' version '0.16.1' apply false } gradle.rootProject { @@ -128,6 +129,7 @@ apply from: 'gradle/javadoc.gradle' apply from: 'gradle/asciidoctor.gradle' apply from: 'gradle/github-pages.gradle' apply from: 'gradle/maven-publish.gradle' +apply from: 'gradle/licenseCheck.gradle' dependencies { testReportAggregation project(':').subprojects diff --git a/config/HEADER.txt b/config/HEADER.txt new file mode 100644 index 00000000..8c24209d --- /dev/null +++ b/config/HEADER.txt @@ -0,0 +1,13 @@ +Copyright ${year} ${name}. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/gradle/licenseCheck.gradle b/gradle/licenseCheck.gradle new file mode 100644 index 00000000..c9270677 --- /dev/null +++ b/gradle/licenseCheck.gradle @@ -0,0 +1,22 @@ +allprojects { + apply plugin: 'com.github.hierynomus.license' + + license { + header = rootProject.file("config/HEADER.txt") + strictCheck = true + ignoreFailures = false + mapping { + java = 'SLASHSTAR_STYLE' + kt = 'SLASHSTAR_STYLE' + groovy = 'SLASHSTAR_STYLE' + kts = 'SLASHSTAR_STYLE' + fxml = 'XML_STYLE' + } + ext.year = '2014-2026' + ext.name = 'ConsensusJ Developers' + exclude "**/*.json" + exclude "**/build/*" + exclude "**/out/*" + exclude "**/.gradle/*" + } +} \ No newline at end of file diff --git a/nix-deps.json b/nix-deps.json index 41d2e79b..61a39ddf 100644 --- a/nix-deps.json +++ b/nix-deps.json @@ -51,6 +51,9 @@ "plugins.gradle.org/m2/com/fasterxml/jackson#jackson-parent/2.18.1": { "pom": "sha256-0IIvrBoCJoRLitRFySDEmk9hkWnQmxAQp9/u0ZkQmYw=" }, + "plugins.gradle.org/m2/com/github/hierynomus/license#com.github.hierynomus.license.gradle.plugin/0.16.1": { + "pom": "sha256-vm+BLvFmOT6kOmdkl1wdUYbr4IS/yTTqkskBsLYNjnQ=" + }, "plugins.gradle.org/m2/com/github/openjson#openjson/1.0.13": { "jar": "sha256-fUGEz4kfNZ7nIJWkzhy5zY88Z2Z23+cW6on6tNDm6VM=", "pom": "sha256-bH6VO09at9+Uppnum6jk7NneKghLcombV2R6I3WJhqg=" @@ -85,6 +88,10 @@ "jar": "sha256-9B97qs1xaJZEes6XWGIfYsHGsKkdiazuSI2ib8R3yE8=", "pom": "sha256-V3fSkiUceJXASkxXAVaD7Ds1OhJIbJs+cXjpsLPDj/8=" }, + "plugins.gradle.org/m2/gradle/plugin/com/hierynomus/gradle/plugins#license-gradle-plugin/0.16.1": { + "jar": "sha256-vTz8QElIBmJZ+vHfCRGMxU14s9VpaFSAi31bOzurpi0=", + "pom": "sha256-XHYxuV84us2anPOguyxUlADYH1qSt2YCSA6KSFgWptQ=" + }, "plugins.gradle.org/m2/info/picocli#picocli/4.7.7": { "jar": "sha256-+G4w//0Q0rE7jKqNSyN6fuYfL/zPWxlB3nGLdl0jW/g=", "pom": "sha256-GxjTYxNN9mYx0rn3R1Bo1zQiW6OJzfkIKhvYvakNV9M=" @@ -629,6 +636,24 @@ "jar": "sha256-1lImlJcTxMYaeE9BxRFn57Axb5N2Q5jrup5DNrPZVMI=", "pom": "sha256-5O1sZpYgNm+ZOSBln+CsfLyD11PbwNwOseUplzr5byM=" }, + "repo.maven.apache.org/maven2/com/mycila#license-maven-plugin-parent/3.0": { + "pom": "sha256-DR8XPOud8hKSZ2Z8EMiR5eXXJm2C46hQcGaNtW2wy/o=" + }, + "repo.maven.apache.org/maven2/com/mycila#license-maven-plugin/3.0": { + "jar": "sha256-Ul/o866FI9Be7ac2ZFxB6cMw8CV4K1s95u8Lqs8teMw=", + "pom": "sha256-kmJwjckIctcrvmfLFVITU6feJkgJzh6zLflfvqR2/IM=" + }, + "repo.maven.apache.org/maven2/com/mycila#mycila-pom/3": { + "pom": "sha256-QCd6OyVlPuZDPEaFLacOlzbBmNlLyvbSw0cIqHOjGyY=" + }, + "repo.maven.apache.org/maven2/com/mycila#mycila-xmltool/4.4.ga": { + "jar": "sha256-ddeyvpOBpl9vrDLzEIIhEvgFVm6fipekXY8Tz1UEnOA=", + "pom": "sha256-wMaee7roquvUQOFnjOn1AotD07ToHNQ26Y+BOkvDIrI=" + }, + "repo.maven.apache.org/maven2/com/mycila/xmltool#xmltool/3.3": { + "jar": "sha256-hw+TlnieL0inuPso38BwwvjnSyAHJ0ziPmm2WBEP0pQ=", + "pom": "sha256-64P2FpRcjH37TYDm+QnnKG9SO7EQd4ArzSFr1w6ccXo=" + }, "repo.maven.apache.org/maven2/com/oracle/coherence/ce#coherence-bom/25.03.1": { "pom": "sha256-8d0wn5MxlwuKd3MVGt5Lx8sesT1fn5OmPtSNTFLZL6I=" }, @@ -663,6 +688,10 @@ "jar": "sha256-+HfTBGYKwqFC84ZbrfyXHex+1zx0fH+NXS9ROcpzZRM=", "pom": "sha256-DCOGOJOiKR9aev29jRWSOzlIr9h+Vj+jQc3Pbq4zimA=" }, + "repo.maven.apache.org/maven2/commons-logging#commons-logging/1.1.1": { + "jar": "sha256-zm+RPK0fDbOq1wGG1lxbx//Mmpnj/o4LE3MSgZ98Ni8=", + "pom": "sha256-0PLhbQVOi7l63ZyiZSXrI0b2koCfzSooeH2ozrPDXug=" + }, "repo.maven.apache.org/maven2/eu/neilalexander#jnacl/1.0.0": { "jar": "sha256-SszJ0qVqbdUZjsXhxcBaCR2lY7zNNG/WV47cCDFSvqo=", "pom": "sha256-drSkhajExPNdbRxq+JwVzYw61PZWcb0ZGrgi/v66QUc=" @@ -720,6 +749,10 @@ "module": "sha256-Caty1y9lsdkWxZ4wg8HHjNbHE1GgIxQsT7HbFqkn0G4=", "pom": "sha256-fKCJWiZQPPax1TyDamLP4yCi498HGPeDle43FYiNwLs=" }, + "repo.maven.apache.org/maven2/io/micronaut#micronaut-core-bom/4.10.3": { + "module": "sha256-S3DJ8GVvG7dwHB4dL1URDzBQV5XvPM6oi0h9sQ8cOvo=", + "pom": "sha256-QrNuVIbM9w6T43xCbT4HSzKsw5aEOjgFaT+jsk8FjD8=" + }, "repo.maven.apache.org/maven2/io/micronaut#micronaut-core-bom/4.10.4": { "module": "sha256-a1ywrD7OH/GEIR3iiF7y9zwD6ONJ+POZ7WjUioLNOVg=", "pom": "sha256-s2Y3bi9Pyl0CLP+Ti7HpynwXpcoO2ZMz0B8paTWZ2Pk=" @@ -762,6 +795,11 @@ "module": "sha256-5eG/wSTMA9SosR7mKYyVoLFcjgBg1vAWPJKunmbbfX8=", "pom": "sha256-tLEJyiceXTF+2Gj0lelEZHP9/0bnkOha/WPx9dJvVXs=" }, + "repo.maven.apache.org/maven2/io/micronaut#micronaut-http-client/4.10.11": { + "jar": "sha256-glZz8BTYFuuHZ1VZkTeEdUl1cKS1YVB8VlZiOxaLWAo=", + "module": "sha256-2QtEH2QbXY8Yh4PEh28P2g6OCIEIMKVtuvfJLJZcOTc=", + "pom": "sha256-9jT49lAGNFSx1xwTqVOi4pvwy/xckvHVyH51JxThH2o=" + }, "repo.maven.apache.org/maven2/io/micronaut#micronaut-http-netty/4.10.11": { "jar": "sha256-1OYQDELgdB64ekMc4C28g6NRttatmfyetLKTFjgNpEk=", "module": "sha256-4twV1S46zrk5ImnZ0x+MWyzOS4JkvhpAjLgTbN39m5c=", @@ -782,11 +820,6 @@ "module": "sha256-Olu33GILt2XcnTTyLfSJ8zCewDceZrznBEr00t9W/YU=", "pom": "sha256-I75m67J/cbshVLudVYBAZc3I5xZxlRyqFyA1d1U/pOo=" }, - "repo.maven.apache.org/maven2/io/micronaut#micronaut-inject-groovy/4.10.11": { - "jar": "sha256-LIHqb1k0zSZkVdmIcb5kQrEQeAlNnt20hsWp6eKtNqs=", - "module": "sha256-8MStPaWs+KSBUoAeSemL1wYTuHsNkqUGOlsL+hp0ucM=", - "pom": "sha256-GM6nlcCRVmU6+iPhVixfp21n7hw8cy8WT1Q2xcx8N/8=" - }, "repo.maven.apache.org/maven2/io/micronaut#micronaut-inject-java/4.10.11": { "jar": "sha256-QodNPnv7st8SFhsOp775EkQYHIdgbMyng5nGMFhAOSM=", "module": "sha256-ekhvjzRSyOmsBMsLyi4U1BRjIEEIoO41JAXGpy7IIlc=", @@ -797,6 +830,10 @@ "module": "sha256-cFn61r+33RLlywquy5AgfHL06pVGYA0ZtxAjiFL5RcM=", "pom": "sha256-koLEyn3Nk9Ib6/MCCDWqBQ94fwBih0aix6RYFDSh8gU=" }, + "repo.maven.apache.org/maven2/io/micronaut#micronaut-inject/4.10.3": { + "module": "sha256-TqfqoX+34niZMsU2d2qeS/TRUQ1LZ1GReE45qRPKDpY=", + "pom": "sha256-IOqQlx5Uu+nh6STcDiR1NAE1zIvM/AvvZEH6YcesXwg=" + }, "repo.maven.apache.org/maven2/io/micronaut#micronaut-inject/4.10.4": { "module": "sha256-XqMVxHzIRzVDVV7HmXu/VnfKQYZAvnC9nDXV6DhegFY=", "pom": "sha256-L1phEKNUSus3xXh9o9QK691ojAkjkG3ylx7wOFcgYOg=" @@ -1061,6 +1098,11 @@ "module": "sha256-peMQG7XAJi1fySlY1l9WROwfZIHGU2Xaani2O1ere3o=", "pom": "sha256-sLs7JN2qe0BAwv4dfBmsiGQfRWiq0RA2uPxtZJyNG5E=" }, + "repo.maven.apache.org/maven2/io/micronaut/reactor#micronaut-reactor/3.9.1": { + "jar": "sha256-upKZcmI+FkBWr0sL/QqJfuRNak/SY28lGj1YCLThORg=", + "module": "sha256-i11N3JH7IuUEztc9iwKbAnEZDNUxjkJF9UqhuOGf+Ag=", + "pom": "sha256-nSjWTVgZqX/OsdCnUKpkbLqsR2dS2H2waxvVTqyUw0A=" + }, "repo.maven.apache.org/maven2/io/micronaut/redis#micronaut-redis-bom/6.9.0": { "module": "sha256-PhebCcnEKMLSdf1tgbKPT5wrBKX26KIpiaPGxq+wopc=", "pom": "sha256-zUvgiAlNxVkiHguk/AxIk2veNVqbT+UtwwWpJJwKqlw=" @@ -1133,11 +1175,6 @@ "module": "sha256-pzIzsi8AhmCOiyNBO/8JJhh631WWT+oQv5WM9/MwSFc=", "pom": "sha256-eblYoF3KN81dppdIgPiNWscKNd9ak8fPGhu2DGO7rd4=" }, - "repo.maven.apache.org/maven2/io/micronaut/test#micronaut-test-spock/4.10.2": { - "jar": "sha256-kPpxa0pqYH+TsDcYkgtzciQjlBIQrlad/RCPKIZBGqw=", - "module": "sha256-h7GdmZ+dH99VtellAEzStHPTY6pU1V58SB4AaGIKjuk=", - "pom": "sha256-58XJcZXECAkoNCmN9V3pjBn112UOENm2EsZ2/3VTObE=" - }, "repo.maven.apache.org/maven2/io/micronaut/testresources#micronaut-test-resources-bom/2.10.1": { "module": "sha256-N9rXSioEh2txpkohARRByDe4Q3yT2y9/M+/lYtzMucU=", "pom": "sha256-gP1t3TRCAXYnPBn/lM7ERnkGXT3FUrk2TD3LcG1YBoU=" @@ -1199,10 +1236,18 @@ "jar": "sha256-Ed0g3ueD91A2pRRiWIs/H0LudYi+bOzIqfWfTC86z+Q=", "pom": "sha256-R3d1ny8Gqz5pQB6YH4iMwyERbFtz1FphnDkygGUiyyA=" }, + "repo.maven.apache.org/maven2/io/netty#netty-codec-socks/4.2.9.Final": { + "jar": "sha256-GwfSUYdXhY8AW2/uh2eWxLF9dGnneyAyOUtD7QbUZQE=", + "pom": "sha256-P9XYzInsEuG+PZDWD9OCSt3P3FMOChLKtIr65E9OnJQ=" + }, "repo.maven.apache.org/maven2/io/netty#netty-common/4.2.9.Final": { "jar": "sha256-mdll1QewlZmrLSFelAxpDU986M2X/xN3aqF+tODZC4o=", "pom": "sha256-17ECJZg72gPp+Kgz1TmmARv8s6KF4jF2k/T5g5vXdzw=" }, + "repo.maven.apache.org/maven2/io/netty#netty-handler-proxy/4.2.9.Final": { + "jar": "sha256-JGiDKi4l5b8TnWFeueZUcMR1avTmKEhjys3jNsMa5Wk=", + "pom": "sha256-UTUGftJls3VlK2ZQ8JWdLbssA7OfQA3/Cltj0SOyQI8=" + }, "repo.maven.apache.org/maven2/io/netty#netty-handler/4.2.9.Final": { "jar": "sha256-4WEmxxHByCFzQogswNkIYAeFLLD5mjUc/r53JejH4QA=", "pom": "sha256-VCVp7nmpH2qrBJqIv7LEVZipM+P6A5s/5/9A0q93XuM=" @@ -1277,6 +1322,10 @@ "jar": "sha256-99yYBi/M8UEmq7dRtk+rEsMSVm6MvchINZi//OqTr3w=", "pom": "sha256-5/1yMuljB6V1sklMk2fWjPQ+yYJEqs48zCPhdz/6b9o=" }, + "repo.maven.apache.org/maven2/jakarta/validation#jakarta.validation-api/3.1.1": { + "jar": "sha256-Y84AFWOIw2XzrBvnH8+vEUaC/AxFICC1325+wjbhQqs=", + "pom": "sha256-qxnpAKv5Awo3+DI+Ws66WNQK+I47UqBYuOA95II1ync=" + }, "repo.maven.apache.org/maven2/javax/annotation#javax.annotation-api/1.3.2": { "jar": "sha256-4EulGVvNVV3JVlD3zGFNFR5LzVLSmhC4qiGX86uJq5s=", "pom": "sha256-RqSiUcpAbnjkhT16K66DKChEpJkoUUOe6aHyNxbwa5c=" @@ -1339,6 +1388,12 @@ "module": "sha256-HTlCaKl1C3I7Chm+VBUgO3LOx57q9VrrJFJu9fbG27I=", "pom": "sha256-ub1LTD3gr1tMpHEthCs2jMujaLs7CwQZgstDAqVMyGc=" }, + "repo.maven.apache.org/maven2/org/apache#apache/10": { + "pom": "sha256-gC/uznKFLa/L0KQlpgNnxyxcubbqWq5ZSBEoVpGJ2vk=" + }, + "repo.maven.apache.org/maven2/org/apache#apache/13": { + "pom": "sha256-/1E9sDYf1BI3vvR4SWi8FarkeNTsCpSW+BEHLMrzhB0=" + }, "repo.maven.apache.org/maven2/org/apache#apache/18": { "pom": "sha256-eDEwcoX9R1u8NrIK4454gvEcMVOx1ZMPhS1E7ajzPBc=" }, @@ -1351,6 +1406,9 @@ "repo.maven.apache.org/maven2/org/apache#apache/35": { "pom": "sha256-6il9zRFBNui46LYwIw1Sp2wvxp9sXbJdZysYVwAHKLg=" }, + "repo.maven.apache.org/maven2/org/apache#apache/4": { + "pom": "sha256-npMjomuo6yOU7+8MltMbcN9XCAhjDcFHyrHnNUHMUZQ=" + }, "repo.maven.apache.org/maven2/org/apache/commons#commons-collections4/4.4": { "jar": "sha256-Hfi5QwtcjtFD14FeQD4z71NxskAKrb6b2giDdi4IRtE=", "pom": "sha256-JxvWc4Oa9G5zr/lX4pGNS/lvWsT2xs9NW+k/0fEnHE0=" @@ -1359,18 +1417,28 @@ "jar": "sha256-3i4dzc8++ReozoWGYaBnJqmpRPKOM61/ngi+pE3DwjA=", "pom": "sha256-pAIkKbmEJbQwGBkVchJ5pS9hDzRki9rEh9TKy76N/rU=" }, + "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/33": { + "pom": "sha256-U9ABE1Li5RBvN52vzNrHdU7G8PeCQ8AwXklp9azd+Ps=" + }, "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/42": { "pom": "sha256-zTE0lMZwtIPsJWlyrxaYszDlmPgHACNU63ZUefYEsJw=" }, "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/48": { "pom": "sha256-Hh996TcKe3kB8Sjx2s0UIr504/R/lViw954EwGN8oLQ=" }, + "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/5": { + "pom": "sha256-i9YywAvfgKfeNsIrYPEkUsFH2Oyi8A151maZ6+faoCo=" + }, "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/58": { "pom": "sha256-LUsS4YiZBjq9fHUni1+pejcp2Ah4zuy2pA2UbpwNVZA=" }, "repo.maven.apache.org/maven2/org/apache/commons#commons-parent/91": { "pom": "sha256-0vi2/UgAtqrxIPWjgibV+dX8bbg3r5ni+bMwZ4aLmHI=" }, + "repo.maven.apache.org/maven2/org/apache/commons#commons-pool2/2.2": { + "jar": "sha256-h4Czu7Mah5fnTp8wIvBD3a3Crui+Y9lPgIKmoWVGxBs=", + "pom": "sha256-SPll6CQtvwF4bQqS0K1j4gogHUpTbgMh0DsQ0uDJgVM=" + }, "repo.maven.apache.org/maven2/org/apache/groovy#groovy-bom/4.0.18": { "module": "sha256-a0+3O1GC9TMQVmfYE0b4AY3KmZBxGoZnhoqYL6vxug4=", "pom": "sha256-T9hr3EacyHWrNS0DtdgYwBBdd0C10+UmqRnyQf6YTYw=" @@ -1400,6 +1468,20 @@ "repo.maven.apache.org/maven2/org/apache/logging/log4j#log4j-bom/2.25.2": { "pom": "sha256-Tym32cLZcP0qZpcXa/fd3EFQifYNaW0ov98xsk6S8Rw=" }, + "repo.maven.apache.org/maven2/org/apache/maven#maven-parent/21": { + "pom": "sha256-/EWviRHqMH0bV1ZO7x94tpgB6cEaVhnn61jV0Arp244=" + }, + "repo.maven.apache.org/maven2/org/apache/maven#maven-settings-builder/3.0.4": { + "jar": "sha256-o4pU7B5pow3fwUQ04K7Cdk/CaGaKvMDhMthmkqXc4+Q=", + "pom": "sha256-Pgs/YCZ7YHCnQbFdtbQPvYJMYdsSofTxZu1li59i7OA=" + }, + "repo.maven.apache.org/maven2/org/apache/maven#maven-settings/3.0.4": { + "jar": "sha256-Pj3xf1315M4ee38gEcV9YdMo5lZ4VCreIEjw0PopXwk=", + "pom": "sha256-vu3/18fkmtNe+UXDQT8YGfBOQ+opSjGARxTIy7DzcrM=" + }, + "repo.maven.apache.org/maven2/org/apache/maven#maven/3.0.4": { + "pom": "sha256-TSI+AaZWnWZVwfT86Elp1FFCzbq9sRjqCMXIwz7GMvY=" + }, "repo.maven.apache.org/maven2/org/apiguardian#apiguardian-api/1.1.2": { "jar": "sha256-tQlEisUG1gcxnxglN/CzXXEAdYLsdBgyofER5bW3Czg=", "module": "sha256-4IAoExN1s1fR0oc06aT7QhbahLJAZByz7358fWKCI/w=", @@ -1430,6 +1512,13 @@ "module": "sha256-q8eA88iGFax0rjPmM4hvefvU+IucoiybB/ffmTTIRWw=", "pom": "sha256-J/wnoOXIYBbu8YzRntVIHwt/tGZoU9LD+DoBxJnw0rs=" }, + "repo.maven.apache.org/maven2/org/awaitility#awaitility-parent/4.2.2": { + "pom": "sha256-X123oZqQMkVHlOJP5gCsfe0UJqKJGdxKwUxK7haMWiU=" + }, + "repo.maven.apache.org/maven2/org/awaitility#awaitility/4.2.2": { + "jar": "sha256-6DH+4w7UAeIgjxvVoO+a3VONnLEQPA5DIWaRtke96cY=", + "pom": "sha256-huWduqlfl1kBmysOurS8nW4Mqgtp++oPwFPA0gbOyFk=" + }, "repo.maven.apache.org/maven2/org/bitcoinj#bitcoinj-core/0.17": { "jar": "sha256-wTsf8CutzxCL1LzWSzgtpkuugYvLrJFdB1HjF+hCaQk=", "pom": "sha256-nkUOG1Dr9WpewiMRWQ+6Kw9b5Rrs8KQzu1jyrgqevf4=" @@ -1469,6 +1558,33 @@ "jar": "sha256-G83S+h+PBiI0y27VuMnFalh2qUk6/vMiHyLdT5JYlzY=", "pom": "sha256-A+oGjKQjNPtx3VPITNrxu1VuaumjWO6MyD882lq43b4=" }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-component-annotations/1.5.5": { + "jar": "sha256-Tfemp75ks1u8z2C1wRVpf56jQh0iZ0rmcTXd43X8yh8=", + "pom": "sha256-gV8+wxa4xfpwE4X99ACb+1HgfXgOj2puKv5yDFLX4pI=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-components/1.1.18": { + "pom": "sha256-7128f6kYttu6cdJ+Wz16AN9iS8+iVJpyl/Nv4nX2NNc=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-containers/1.5.5": { + "pom": "sha256-G8Jkgk7IdrDKb09YOBdcVBxjjLxDMmomi5rufUd4te8=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-interpolation/1.14": { + "jar": "sha256-f8YzeNPoRmNhm5vtrOn5/niydsK+PGLKIkVEkpTIQXY=", + "pom": "sha256-0IFVxJffN7LD2bWw39sC7AUlsgcLW+Nzn//elC/Kya8=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-utils/2.0.5": { + "pom": "sha256-Nbx9EhNhYjZXEHKyxW2hj3pXZY3otKQQBkW3BUorJzs=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus-utils/2.0.6": { + "jar": "sha256-i5CfTKl4hkeUL4g9TlWbzGQhI/fGvNOEaYOi5GVGnDM=", + "pom": "sha256-/drU+mLIIxCuxDUl5RnNWfJ9BMdWn+IbGwPKIQiHgQw=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus/2.0.6": { + "pom": "sha256-vqEudHcI0l5zQQyhxzHr36EC6L227H2BvUUiWDsjS8w=" + }, + "repo.maven.apache.org/maven2/org/codehaus/plexus#plexus/2.0.7": { + "pom": "sha256-K1kGIDCrChXF0Jd7oiQhcGNokmSIc5pl8leT5xXMinQ=" + }, "repo.maven.apache.org/maven2/org/eclipse/ee4j#project/1.0.6": { "pom": "sha256-Tn2DKdjafc8wd52CQkG+FF8nEIky9aWiTrkHZ3vI1y0=" }, @@ -1529,6 +1645,9 @@ "jar": "sha256-4LKw6n7rESakWPEOqyua5LIMv6FKSL4TnIvBMny2lWA=", "pom": "sha256-YmK4CARyGi6zzlnbTyyX/kbZ1oVDzyn7KBoGF1zGn+Q=" }, + "repo.maven.apache.org/maven2/org/hamcrest#hamcrest/2.1": { + "pom": "sha256-eH/dx6wGS1oiQGOA4g1WB2nwoIm77P8ijhntyWz2ySc=" + }, "repo.maven.apache.org/maven2/org/hamcrest#hamcrest/2.2": { "jar": "sha256-XmKEaonwXNeM2cGlU/NA0AJFg4DDIEVd0fj8VJeoocE=", "pom": "sha256-s2E3N2xLP8923DN+KhvFtpGirBqpZqtdJiCak4EvpX0=" @@ -1851,6 +1970,9 @@ "repo.maven.apache.org/maven2/org/slf4j#slf4j-parent/2.0.17": { "pom": "sha256-lc1x6FLf2ykSbli3uTnVfsKy5gJDkYUuC1Rd7ggrvzs=" }, + "repo.maven.apache.org/maven2/org/sonatype/forge#forge-parent/4": { + "pom": "sha256-GDjRMkeQBbS3RZt5jp2ZFVFQkMKICC/c2G2wsQmDokw=" + }, "repo.maven.apache.org/maven2/org/sonatype/oss#oss-parent/5": { "pom": "sha256-FnjUEgpYXYpjATGu7ExSTZKDmFg7fqthbufVqH9SDT0=" }, @@ -1860,6 +1982,17 @@ "repo.maven.apache.org/maven2/org/sonatype/oss#oss-parent/9": { "pom": "sha256-+0AmX5glSCEv+C42LllzKyGH7G8NgBgohcFO8fmCgno=" }, + "repo.maven.apache.org/maven2/org/sonatype/plexus#plexus-cipher/1.4": { + "jar": "sha256-WhX9uiJmng/dBuENzOYyCHnh9zmPvJEM0Gd7UGcqeMQ=", + "pom": "sha256-pjouI5iMyn+sbJOIbW8FBv0m2I1+jMDLibnG4NbJlK0=" + }, + "repo.maven.apache.org/maven2/org/sonatype/plexus#plexus-sec-dispatcher/1.3": { + "jar": "sha256-OwVZu4Qy8ok37+bKGT71SoUG0Addc/10BrmxFsahEGM=", + "pom": "sha256-1eZQxQ72lYwCjtAktZrwTPPTjhRTp31UK2tIS8D0ygs=" + }, + "repo.maven.apache.org/maven2/org/sonatype/spice#spice-parent/12": { + "pom": "sha256-IaGbJtvlw43bURTPTq2/XMtBG8axKP3VlJscyxLzaD4=" + }, "repo.maven.apache.org/maven2/org/spockframework#spock-bom/2.3-groovy-4.0": { "pom": "sha256-3w9N3zyrKuEDI+h54nquyXSkA6xiitjMsi0T6b9mRBk=" }, @@ -1868,10 +2001,21 @@ "module": "sha256-W2QHcTOZe9HdI5scafMnfG4KUpYnhA+ElUFmzeSKGGo=", "pom": "sha256-qgs1kf+aOzwy6vmanFXdUSVg7M/EWXLYTnUUpnZpX/c=" }, + "repo.maven.apache.org/maven2/org/springframework#spring-asm/3.1.3.RELEASE": { + "jar": "sha256-za8dBwQOdREzok+Zesp9mOrL/mfhsoddzoynOCUngTA=", + "pom": "sha256-f7b7uYdEDEjGc9sVsIdwqcLWySBSBEIZl5z0j0ZvcSM=" + }, + "repo.maven.apache.org/maven2/org/springframework#spring-core/3.1.3.RELEASE": { + "jar": "sha256-AUp7IdtoD9iGfgJrGMO/idME3sWyEJCotqezy1z8d9I=", + "pom": "sha256-8xqLb1m2oBgOOMnBKboGB7rnoNShC5U3V3DIFKtMx1M=" + }, "repo.maven.apache.org/maven2/org/springframework#spring-framework-bom/6.2.11": { "module": "sha256-CpCQd40hWMhxGLTb2XElGZADlmC9W9tl3cZxABZsy2g=", "pom": "sha256-08QBQ/EqLgPvLUscIjYsQoEg4WLsK7pqzTuuITx2yAk=" }, + "repo.maven.apache.org/maven2/org/springframework#spring-parent/3.1.3.RELEASE": { + "pom": "sha256-ZOkRARj4KhQnWaMW0J09jY1xfV2VB51/aziO5Hn6eC8=" + }, "repo.maven.apache.org/maven2/org/testcontainers#testcontainers-bom/1.20.6": { "pom": "sha256-OKLdmRxz50sJmGQoOqiJ2MNk1pUcrgB4l6vLe+t0APE=" }, From 110e463293bfad00bbbceb0d509d6262cb71ce27 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Fri, 30 Jan 2026 08:59:26 -0800 Subject: [PATCH 2/2] Add license headers using Gradle license plugin licenseFormat task --- .../dsl/groovy/categories/CoinCategory.groovy | 15 +++++++++++++++ .../dsl/groovy/categories/NumberCategory.groovy | 15 +++++++++++++++ .../categories/StaticECKeyExtension.groovy | 15 +++++++++++++++ .../groovy/categories/CoinCategorySpec.groovy | 15 +++++++++++++++ .../groovy/categories/NumberCategorySpec.groovy | 15 +++++++++++++++ .../categories/StaticECKeyExtensionSpec.groovy | 15 +++++++++++++++ .../org/consensusj/bitcoinj/dsl/js/Demo.java | 15 +++++++++++++++ .../bitcoinj/dsl/js/ScriptRunner.java | 15 +++++++++++++++ .../bitcoinj/dsl/js/package-info.java | 15 +++++++++++++++ .../src/main/resources/javascript/demo.js | 15 +++++++++++++++ .../main/resources/javascript/getBlockheight.js | 15 +++++++++++++++ .../src/main/resources/javascript/hello.js | 15 +++++++++++++++ .../main/resources/javascript/sendBitcoin.js | 15 +++++++++++++++ .../bitcoinj/spock/AddressSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoinj/spock/CoinSpec.groovy | 15 +++++++++++++++ .../bitcoinj/spock/CreateWalletSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoinj/spock/ECKeySpec.groovy | 15 +++++++++++++++ .../bitcoinj/spock/TransactionSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoinj/spock/WalletSpec.groovy | 15 +++++++++++++++ .../spock/tx/BaseTransactionSpec.groovy | 15 +++++++++++++++ .../bitcoinj/spock/tx/OpReturnSpec.groovy | 15 +++++++++++++++ .../service/SendTransactionService.java | 15 +++++++++++++++ .../service/SignTransactionService.java | 15 +++++++++++++++ .../bitcoinj/signing/BaseTransactionSigner.java | 15 +++++++++++++++ .../bitcoinj/signing/DefaultSigningRequest.java | 15 +++++++++++++++ .../bitcoinj/signing/ECKeySigner.java | 15 +++++++++++++++ .../bitcoinj/signing/FeeCalculator.java | 15 +++++++++++++++ .../bitcoinj/signing/HDKeychainSigner.java | 15 +++++++++++++++ .../signing/RawTransactionSigningRequest.java | 15 +++++++++++++++ .../bitcoinj/signing/SigningRequest.java | 15 +++++++++++++++ .../bitcoinj/signing/SigningUtils.java | 15 +++++++++++++++ .../bitcoinj/signing/TestnetFeeCalculator.java | 15 +++++++++++++++ .../bitcoinj/signing/TransactionInputData.java | 15 +++++++++++++++ .../signing/TransactionInputDataUtxo.java | 15 +++++++++++++++ .../signing/TransactionOutputAddress.java | 15 +++++++++++++++ .../bitcoinj/signing/TransactionOutputData.java | 15 +++++++++++++++ .../signing/TransactionOutputDataScript.java | 15 +++++++++++++++ .../signing/TransactionOutputOpReturn.java | 15 +++++++++++++++ .../bitcoinj/signing/TransactionSigner.java | 15 +++++++++++++++ .../signing/TransactionVerification.java | 15 +++++++++++++++ .../org/consensusj/bitcoinj/signing/Utxo.java | 15 +++++++++++++++ .../bitcoinj/signing/package-info.java | 15 +++++++++++++++ .../org/consensusj/bitcoinj/util/BlockUtil.java | 15 +++++++++++++++ .../consensusj/bitcoinj/util/package-info.java | 15 +++++++++++++++ .../BipStandardDeterministicKeyChain.java | 15 +++++++++++++++ .../BipStandardKeyChainGroupStructure.java | 15 +++++++++++++++ .../bitcoinj/wallet/package-info.java | 15 +++++++++++++++ .../DeterministicKeychainBaseSpec.groovy | 15 +++++++++++++++ .../bitcoinj/signing/ECKeySignerSpec.groovy | 15 +++++++++++++++ .../signing/HDKeychainSignerSpec.groovy | 15 +++++++++++++++ .../KeychainRoundTripStepwiseSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoin/cli/BitcoinCLITool.java | 15 +++++++++++++++ .../bitcoin/cli/BitcoinRpcCliOptions.java | 15 +++++++++++++++ .../consensusj/bitcoin/cli/package-info.java | 15 +++++++++++++++ .../cli/BitcoinCLIToolIntegrationSpec.groovy | 15 +++++++++++++++ .../bitcoin/cli/BitcoinCLIToolSpec.groovy | 15 +++++++++++++++ .../json/conversion/AddressDeserializer.java | 15 +++++++++++++++ .../json/conversion/AddressKeyDeserializer.java | 15 +++++++++++++++ .../json/conversion/AddressSerializer.java | 15 +++++++++++++++ .../json/conversion/BlockHexDeserializer.java | 15 +++++++++++++++ .../json/conversion/CoinDeserializer.java | 15 +++++++++++++++ .../bitcoin/json/conversion/CoinSerializer.java | 15 +++++++++++++++ .../json/conversion/ECKeyDeserializer.java | 15 +++++++++++++++ .../json/conversion/ECKeySerializer.java | 15 +++++++++++++++ .../bitcoin/json/conversion/HexUtil.java | 15 +++++++++++++++ .../bitcoin/json/conversion/PeerSerializer.java | 15 +++++++++++++++ .../json/conversion/RpcClientModule.java | 15 +++++++++++++++ .../json/conversion/RpcServerModule.java | 15 +++++++++++++++ .../json/conversion/ScriptSerializer.java | 15 +++++++++++++++ .../json/conversion/Sha256HashDeserializer.java | 15 +++++++++++++++ .../json/conversion/Sha256HashSerializer.java | 15 +++++++++++++++ .../conversion/TransactionHexSerializer.java | 15 +++++++++++++++ .../json/conversion/TransactionSerializer.java | 15 +++++++++++++++ .../bitcoin/json/conversion/package-info.java | 15 +++++++++++++++ .../bitcoin/json/pojo/AddressGroupingItem.java | 15 +++++++++++++++ .../bitcoin/json/pojo/AddressInfo.java | 15 +++++++++++++++ .../json/pojo/BitcoinTransactionInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/BlockChainInfo.java | 15 +++++++++++++++ .../consensusj/bitcoin/json/pojo/BlockInfo.java | 15 +++++++++++++++ .../consensusj/bitcoin/json/pojo/ChainTip.java | 15 +++++++++++++++ .../bitcoin/json/pojo/LoadWalletResult.java | 15 +++++++++++++++ .../bitcoin/json/pojo/MethodHelpEntry.java | 15 +++++++++++++++ .../bitcoin/json/pojo/MinimalDescriptor.java | 15 +++++++++++++++ .../bitcoin/json/pojo/NetworkInfo.java | 15 +++++++++++++++ .../consensusj/bitcoin/json/pojo/Outpoint.java | 15 +++++++++++++++ .../bitcoin/json/pojo/PrevTxOutInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/RawTransactionInfo.java | 15 +++++++++++++++ .../json/pojo/ReceivedByAddressInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/ServerInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/SignedRawTransaction.java | 15 +++++++++++++++ .../consensusj/bitcoin/json/pojo/TxOutInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/TxOutSetInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/UnloadWalletResult.java | 15 +++++++++++++++ .../bitcoin/json/pojo/UnspentOutput.java | 15 +++++++++++++++ .../consensusj/bitcoin/json/pojo/UtxoInfo.java | 15 +++++++++++++++ .../json/pojo/WalletTransactionInfo.java | 15 +++++++++++++++ .../bitcoin/json/pojo/ZmqNotification.java | 15 +++++++++++++++ .../json/pojo/bitcore/AddressBalanceInfo.java | 15 +++++++++++++++ .../json/pojo/bitcore/AddressRequest.java | 15 +++++++++++++++ .../json/pojo/bitcore/AddressUtxoInfo.java | 15 +++++++++++++++ .../json/pojo/bitcore/AddressUtxoResult.java | 15 +++++++++++++++ .../bitcoin/json/pojo/bitcore/package-info.java | 15 +++++++++++++++ .../bitcoin/json/pojo/package-info.java | 15 +++++++++++++++ .../bitcoin/json/rpc/BitcoinJsonRpc.java | 15 +++++++++++++++ .../bitcoin/json/rpc/package-info.java | 15 +++++++++++++++ .../conversion/AddressDeserializerSpec.groovy | 15 +++++++++++++++ .../json/conversion/BaseObjectMapperSpec.groovy | 15 +++++++++++++++ .../json/conversion/CoinDeserializerSpec.groovy | 15 +++++++++++++++ .../json/conversion/CoinSerializerSpec.groovy | 15 +++++++++++++++ .../bitcoin/json/pojo/AddressInfoSpec.groovy | 15 +++++++++++++++ .../json/pojo/RawTransactionInfoSpec.groovy | 15 +++++++++++++++ .../groovy/BitcoinScriptingClient.groovy | 15 +++++++++++++++ .../jsonrpc/groovy/BlockCypherSyncing.groovy | 15 +++++++++++++++ .../groovy/BlockchainDotInfoSyncing.groovy | 15 +++++++++++++++ .../groovy/test/JTransactionTestSupport.groovy | 15 +++++++++++++++ .../consensusj/bitcoin/alpha/AlphaSpec.groovy | 15 +++++++++++++++ .../integ/bitcoinj/WalletSendSpec.groovy | 15 +++++++++++++++ .../bitcoinj/WorkingWithContractsSpec.groovy | 15 +++++++++++++++ .../funding/RegTestFundingSourceSpec.groovy | 15 +++++++++++++++ .../services/WalletAppKitRegTestStepwise.groovy | 15 +++++++++++++++ .../WalletSigningServiceRegTestSpec.groovy | 15 +++++++++++++++ .../rpc/BTCTestSupportIntegrationSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/BitcoinCLIAPISpec.groovy | 15 +++++++++++++++ .../rpc/BitcoinExtendedClientSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/BitcoinJRawTxSpec.groovy | 15 +++++++++++++++ .../rpc/BitcoinRawTransactionSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoin/rpc/BitcoinSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/BitcoinStepwiseSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/DynamicRpcClientSpec.groovy | 15 +++++++++++++++ .../rpc/FundingAndBlockChainEnvIntSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoin/rpc/GetBlockSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/GetTxOutSetInfoSpec.groovy | 15 +++++++++++++++ .../org/consensusj/bitcoin/rpc/HelpSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/ImportPrivKeySpec.groovy | 15 +++++++++++++++ .../rpc/bitcore/GetAddressBalanceSpec.groovy | 15 +++++++++++++++ .../rpc/bitcore/GetAddressUtxosSpec.groovy | 15 +++++++++++++++ .../rpc/blockchain/GetBlockChainInfoSpec.groovy | 15 +++++++++++++++ .../rpc/blockchain/GetTxOutSetInfoSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/tx/BareMultisigSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/tx/OpReturnSpec.groovy | 15 +++++++++++++++ .../consensusj/bitcoin/rpc/tx/P2PKHSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/tx/TxTestBaseSpec.groovy | 15 +++++++++++++++ .../bitcoin/rpc/wallet/CreateWalletSpec.groovy | 15 +++++++++++++++ .../rpc/wallet/ListTransactionsSpec.groovy | 15 +++++++++++++++ .../bitcoin/test/BaseMainNetTestSpec.groovy | 15 +++++++++++++++ .../bitcoin/test/BaseRegTestSpec.groovy | 15 +++++++++++++++ .../test/mainnet/MainNetSmokeTest.groovy | 15 +++++++++++++++ .../bitcoin/integ/java/WalletAppKitRegTest.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/BitcoinClient.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/BitcoinExtendedClient.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/ChainTipClient.java | 15 +++++++++++++++ .../consensusj/bitcoin/jsonrpc/RpcConfig.java | 15 +++++++++++++++ .../org/consensusj/bitcoin/jsonrpc/RpcURI.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/bitcoind/BitcoinConf.java | 15 +++++++++++++++ .../jsonrpc/bitcoind/BitcoinConfFile.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/bitcoind/package-info.java | 15 +++++++++++++++ .../internal/BitcoinClientThreadFactory.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/package-info.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/BTCTestSupport.java | 15 +++++++++++++++ .../jsonrpc/test/BitcoinClientAccessor.java | 15 +++++++++++++++ .../jsonrpc/test/BlockChainEnvironment.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/BlockchainSyncing.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/FundingSource.java | 15 +++++++++++++++ .../jsonrpc/test/FundingSourceAccessor.java | 15 +++++++++++++++ .../jsonrpc/test/RegTestEnvironment.java | 15 +++++++++++++++ .../jsonrpc/test/RegTestFundingSource.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/TestServers.java | 15 +++++++++++++++ .../jsonrpc/test/TransactionIngredients.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/WalletTestUtil.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/test/package-info.java | 15 +++++++++++++++ .../bitcoin/jsonrpc/BitcoinClientSpec.groovy | 15 +++++++++++++++ .../jsonrpc/BitcoinExtendedClientSpec.groovy | 15 +++++++++++++++ .../bitcoin/jsonrpc/RpcURISpec.groovy | 15 +++++++++++++++ .../jsonrpc/bitcoind/BitcoinConfFileSpec.groovy | 15 +++++++++++++++ .../rx/jsonrpc/PollingChainTipService.java | 15 +++++++++++++++ .../rx/jsonrpc/PollingChainTipServiceImpl.java | 15 +++++++++++++++ .../bitcoin/rx/jsonrpc/RxBitcoinClient.java | 15 +++++++++++++++ .../rx/jsonrpc/RxJsonChainTipClient.java | 15 +++++++++++++++ .../rx/jsonrpc/TxOutSetWatcherSample.java | 15 +++++++++++++++ .../rx/jsonrpc/service/TxOutSetService.java | 15 +++++++++++++++ .../rx/jsonrpc/test/TestChainTipPublishers.java | 15 +++++++++++++++ .../bitcoin/rx/zeromq/BitcoinZmqMessage.java | 15 +++++++++++++++ .../bitcoin/rx/zeromq/BitcoinZmqPortFinder.java | 15 +++++++++++++++ .../zeromq/RxBitcoinSinglePortZmqService.java | 15 +++++++++++++++ .../rx/zeromq/RxBitcoinZmqBinaryService.java | 15 +++++++++++++++ .../bitcoin/rx/zeromq/RxBitcoinZmqService.java | 15 +++++++++++++++ .../rx/zeromq/SampleBitcoinZmqClient.java | 15 +++++++++++++++ .../rx/zeromq/TcpUriSpecification.groovy | 15 +++++++++++++++ .../bitcoin/rx/peergroup/RxPeerGroup.java | 15 +++++++++++++++ .../bitcoin/rx/ChainTipPublisher.java | 15 +++++++++++++++ .../consensusj/bitcoin/rx/ChainTipService.java | 15 +++++++++++++++ .../bitcoin/rx/RxBlockchainBinaryService.java | 15 +++++++++++++++ .../bitcoin/rx/RxBlockchainService.java | 15 +++++++++++++++ .../bitcoin/services/WalletAppKitService.java | 15 +++++++++++++++ .../bitcoin/services/WalletSigningService.java | 15 +++++++++++++++ .../bitcoin/services/package-info.java | 15 +++++++++++++++ .../services/WalletAppKitServiceSpec.groovy | 15 +++++++++++++++ .../daemon/micronaut/Application.java | 15 +++++++++++++++ .../daemon/micronaut/BitcoinDaemonConfig.java | 15 +++++++++++++++ .../daemon/micronaut/BitcoinFactory.java | 15 +++++++++++++++ .../daemon/micronaut/BitcoinRestController.java | 15 +++++++++++++++ .../daemon/micronaut/JsonRpcController.java | 15 +++++++++++++++ .../application/native-image.properties | 16 ++++++++++++++++ cj-btc-walletd/src/main/resources/logback.xml | 17 +++++++++++++++++ .../src/main/resources/micronaut-banner.txt | 16 ++++++++++++++++ .../daemon/micronaut/ApplicationTest.java | 15 +++++++++++++++ .../micronaut/BitcoinDaemonConfigTest.java | 15 +++++++++++++++ .../daemon/micronaut/ServerStopTest.java | 15 +++++++++++++++ .../analytics/service/RichListService.java | 15 +++++++++++++++ .../analytics/service/TokenRichList.java | 15 +++++++++++++++ .../util/collector/LargestSliceAccumulator.java | 15 +++++++++++++++ .../util/collector/LargestSliceCollector.java | 15 +++++++++++++++ .../util/collector/LargestSliceList.java | 15 +++++++++++++++ .../util/collector/LargestSliceListImpl.java | 15 +++++++++++++++ .../analytics/util/collector/BalancePair.java | 15 +++++++++++++++ .../LargestSliceAccumulatorSpec.groovy | 15 +++++++++++++++ .../LargestSliceAccumulatorStepwiseSpec.groovy | 15 +++++++++++++++ .../currency/BitcoinCurrencyProvider.java | 15 +++++++++++++++ .../org/consensusj/currency/package-info.java | 15 +++++++++++++++ .../currency/BitcoinCurrencyProviderSpec.groovy | 15 +++++++++++++++ .../BaseXChangeExchangeRateProvider.java | 15 +++++++++++++++ .../consensusj/exchange/CurrencyUnitPair.java | 15 +++++++++++++++ .../consensusj/exchange/ExchangeRateChange.java | 15 +++++++++++++++ .../exchange/ExchangeRateObserver.java | 15 +++++++++++++++ .../org/consensusj/exchange/ExchangeUtils.java | 15 +++++++++++++++ .../ObservableExchangeRateProvider.java | 15 +++++++++++++++ .../knowm/KnowmExchangeRateProvider.java | 15 +++++++++++++++ .../knowm/ReactiveKnowmExchangeProvider.java | 15 +++++++++++++++ .../org/consensusj/exchange/package-info.java | 15 +++++++++++++++ .../exchange/rx/ExchangeRateUpdate.java | 15 +++++++++++++++ .../consensusj/exchange/rx/ObservablePair.java | 15 +++++++++++++++ .../exchange/rx/PolledObservablePair.java | 15 +++++++++++++++ .../exchange/rx/ReactiveExchange.java | 15 +++++++++++++++ .../AbstractXChangeRateProviderSpec.groovy | 15 +++++++++++++++ .../BitfinexXChangeRateProviderSpec.groovy | 15 +++++++++++++++ .../CoinbaseProXChangeRateProviderSpec.groovy | 15 +++++++++++++++ .../ItBitXChangeRateProviderSpec.groovy | 15 +++++++++++++++ .../ReactiveKnowmExchangeProviderSpec.groovy | 15 +++++++++++++++ .../exchange/rx/ObservablePairSpec.groovy | 15 +++++++++++++++ .../consensusj/jsonrpc/daemon/Application.java | 15 +++++++++++++++ .../jsonrpc/daemon/JsonRpcController.java | 15 +++++++++++++++ .../jsonrpcdaemon/native-image.properties | 16 ++++++++++++++++ .../src/main/resources/application.yml | 16 ++++++++++++++++ .../src/main/resources/logback.xml | 17 +++++++++++++++++ .../src/main/resources/micronaut-banner.txt | 16 ++++++++++++++++ .../jsonrpc/daemon/ApplicationTest.java | 15 +++++++++++++++ .../src/test/resources/application-test.yml | 16 ++++++++++++++++ .../org/consensusj/jrpc/RegTestServerTests.java | 15 +++++++++++++++ consensusj-jrpc/src/main/java/module-info.java | 15 +++++++++++++++ .../src/main/java/org/consensusj/jrpc/JRpc.java | 15 +++++++++++++++ .../consensusj/jrpc/config/JRpcConfigFile.java | 15 +++++++++++++++ .../src/main/resources/logging.properties | 16 ++++++++++++++++ .../org/consensusj/jrpc/ToolProviderTests.java | 15 +++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../consensusj/jsonrpc/cli/BaseJsonRpcTool.java | 15 +++++++++++++++ .../consensusj/jsonrpc/cli/CliParameter.java | 15 +++++++++++++++ .../jsonrpc/cli/CliParameterParser.java | 15 +++++++++++++++ .../jsonrpc/cli/JavaLoggingSupport.java | 15 +++++++++++++++ .../jsonrpc/cli/JsonRpcClientTool.java | 15 +++++++++++++++ .../jsonrpc/cli/JsonRpcToolOptions.java | 15 +++++++++++++++ .../jsonrpc/cli/config/JsonRpcConfigFile.java | 15 +++++++++++++++ .../cli/config/JsonRpcServerConfigEntry.java | 15 +++++++++++++++ .../jsonrpc/cli/config/XdgDataDir.java | 15 +++++++++++++++ .../jsonrpc/cli/test/CLICommandResult.java | 15 +++++++++++++++ .../jsonrpc/cli/test/CLITestSupport.java | 15 +++++++++++++++ .../src/main/resources/logging.properties | 16 ++++++++++++++++ .../jsonrpc/cli/BaseJsonRpcToolSpec.groovy | 15 +++++++++++++++ .../jsonrpc/cli/CliParameterParserTest.groovy | 15 +++++++++++++++ .../jsonrpc/groovy/DynamicRpcClient.groovy | 15 +++++++++++++++ .../groovy/DynamicRpcMethodFallback.groovy | 15 +++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/groovy/Dummy.java | 15 +++++++++++++++ .../consensusj/jsonrpc/groovy/package-info.java | 15 +++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/AsyncSupport.java | 15 +++++++++++++++ .../jsonrpc/CompositeTrustManager.java | 15 +++++++++++++++ .../consensusj/jsonrpc/DefaultRpcClient.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcClient.java | 15 +++++++++++++++ .../jsonrpc/JsonRpcClientHttpUrlConnection.java | 15 +++++++++++++++ .../jsonrpc/JsonRpcClientJavaNet.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcError.java | 15 +++++++++++++++ .../jsonrpc/JsonRpcErrorException.java | 15 +++++++++++++++ .../consensusj/jsonrpc/JsonRpcException.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcMessage.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcRequest.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcResponse.java | 15 +++++++++++++++ .../org/consensusj/jsonrpc/JsonRpcService.java | 15 +++++++++++++++ .../jsonrpc/JsonRpcStatusException.java | 15 +++++++++++++++ .../consensusj/jsonrpc/JsonRpcTransport.java | 15 +++++++++++++++ .../internal/NumberStringSerializer.java | 15 +++++++++++++++ .../introspection/AbstractJsonRpcService.java | 15 +++++++++++++++ .../introspection/DelegatingJsonRpcService.java | 15 +++++++++++++++ .../introspection/JsonRpcServiceWrapper.java | 15 +++++++++++++++ .../introspection/sample/MathService.java | 15 +++++++++++++++ .../jsonrpc/services/EchoJsonRpcService.java | 15 +++++++++++++++ .../jsonrpc/DefaultRpcClientSpec.groovy | 15 +++++++++++++++ .../JsonRpcClientHttpUrlConnectionSpec.groovy | 15 +++++++++++++++ .../consensusj/jsonrpc/JsonRpcErrorSpec.groovy | 15 +++++++++++++++ .../jsonrpc/JsonRpcRequestSpec.groovy | 15 +++++++++++++++ .../jsonrpc/JsonRpcResponseSpec.groovy | 15 +++++++++++++++ .../jsonrpc/JsonRpcTransportSpec.groovy | 15 +++++++++++++++ .../internal/NumberStringSerializerSpec.groovy | 15 +++++++++++++++ .../DelegatingJsonRpcServiceTest.groovy | 15 +++++++++++++++ .../JsonRpcServiceWrapperTest.groovy | 15 +++++++++++++++ .../introspection/TrivialJsonRpcService.java | 15 +++++++++++++++ .../introspection/sample/MathServiceTest.groovy | 15 +++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../consensusj/rx/jsonrpc/RxJsonRpcClient.java | 15 +++++++++++++++ .../org/consensusj/rx/jsonrpc/package-info.java | 15 +++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../org/consensusj/rx/zeromq/RxZmqContext.java | 15 +++++++++++++++ .../rx/zeromq/ZMsgSocketFlowable.java | 15 +++++++++++++++ .../org/consensusj/rx/zeromq/package-info.java | 15 +++++++++++++++ 313 files changed, 4707 insertions(+) diff --git a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategory.groovy b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategory.groovy index 88c29c03..94b8e783 100644 --- a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategory.groovy +++ b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategory.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import groovy.transform.CompileStatic diff --git a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategory.groovy b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategory.groovy index 14f62f42..c5c678d7 100644 --- a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategory.groovy +++ b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategory.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import groovy.transform.CompileStatic diff --git a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtension.groovy b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtension.groovy index 0a505dbc..2411151d 100644 --- a/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtension.groovy +++ b/cj-bitcoinj-dsl-gvy/src/main/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtension.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import org.bitcoinj.base.Base58 diff --git a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategorySpec.groovy b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategorySpec.groovy index cb8952fe..0b07e13d 100644 --- a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategorySpec.groovy +++ b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/CoinCategorySpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import org.bitcoinj.base.Coin diff --git a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategorySpec.groovy b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategorySpec.groovy index 20c2e4dd..150853c0 100644 --- a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategorySpec.groovy +++ b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/NumberCategorySpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import org.bitcoinj.base.Coin diff --git a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtensionSpec.groovy b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtensionSpec.groovy index 1c4d6ec6..12360cb9 100644 --- a/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtensionSpec.groovy +++ b/cj-bitcoinj-dsl-gvy/src/test/groovy/org/consensusj/bitcoinj/dsl/groovy/categories/StaticECKeyExtensionSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.groovy.categories import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/Demo.java b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/Demo.java index 2bc9afd3..37144967 100644 --- a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/Demo.java +++ b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/Demo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.js; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/ScriptRunner.java b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/ScriptRunner.java index 7a5d2ca0..c117d606 100644 --- a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/ScriptRunner.java +++ b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/ScriptRunner.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.dsl.js; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/package-info.java b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/package-info.java index c7077001..1904b2bd 100644 --- a/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/package-info.java +++ b/cj-bitcoinj-dsl-js/src/main/java/org/consensusj/bitcoinj/dsl/js/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Prototype JavaScript scripting support via (Standalone) Nashorn and ScriptEngineFactory (JSR 223) *

diff --git a/cj-bitcoinj-dsl-js/src/main/resources/javascript/demo.js b/cj-bitcoinj-dsl-js/src/main/resources/javascript/demo.js index ddd38291..1d37c108 100644 --- a/cj-bitcoinj-dsl-js/src/main/resources/javascript/demo.js +++ b/cj-bitcoinj-dsl-js/src/main/resources/javascript/demo.js @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // A simple demo of ConsensusJ ScriptRunner capabilities // Call a JSON-RPC method with the `client` object diff --git a/cj-bitcoinj-dsl-js/src/main/resources/javascript/getBlockheight.js b/cj-bitcoinj-dsl-js/src/main/resources/javascript/getBlockheight.js index 51c9a098..f408fe22 100644 --- a/cj-bitcoinj-dsl-js/src/main/resources/javascript/getBlockheight.js +++ b/cj-bitcoinj-dsl-js/src/main/resources/javascript/getBlockheight.js @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ var blockheight = client.getBlockCount(); print("blockheight = ${blockheight}"); diff --git a/cj-bitcoinj-dsl-js/src/main/resources/javascript/hello.js b/cj-bitcoinj-dsl-js/src/main/resources/javascript/hello.js index 9271ba3b..90c20cb7 100644 --- a/cj-bitcoinj-dsl-js/src/main/resources/javascript/hello.js +++ b/cj-bitcoinj-dsl-js/src/main/resources/javascript/hello.js @@ -1 +1,16 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ print('Bonjour!'); diff --git a/cj-bitcoinj-dsl-js/src/main/resources/javascript/sendBitcoin.js b/cj-bitcoinj-dsl-js/src/main/resources/javascript/sendBitcoin.js index 04dd6344..00a296b8 100644 --- a/cj-bitcoinj-dsl-js/src/main/resources/javascript/sendBitcoin.js +++ b/cj-bitcoinj-dsl-js/src/main/resources/javascript/sendBitcoin.js @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ print("blockheight = ${getBlockCount()}"); var amount = btc(2); diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/AddressSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/AddressSpec.groovy index b7de6d5c..4f9286f6 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/AddressSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/AddressSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CoinSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CoinSpec.groovy index 4d6b776c..ac87c2ac 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CoinSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CoinSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CreateWalletSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CreateWalletSpec.groovy index 25aa7d7d..570324a7 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CreateWalletSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/CreateWalletSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/ECKeySpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/ECKeySpec.groovy index 3c036d94..aad389f6 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/ECKeySpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/ECKeySpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.ScriptType diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/TransactionSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/TransactionSpec.groovy index 63d64b88..6be136d9 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/TransactionSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/TransactionSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/WalletSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/WalletSpec.groovy index 93a5bfe3..940bdb13 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/WalletSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/WalletSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/BaseTransactionSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/BaseTransactionSpec.groovy index ff648500..86126489 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/BaseTransactionSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/BaseTransactionSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock.tx import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/OpReturnSpec.groovy b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/OpReturnSpec.groovy index 516b2587..d2fdfe97 100644 --- a/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/OpReturnSpec.groovy +++ b/cj-bitcoinj-spock/src/test/groovy/org/consensusj/bitcoinj/spock/tx/OpReturnSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.spock.tx diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SendTransactionService.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SendTransactionService.java index c02fbf8a..67cf20cf 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SendTransactionService.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SendTransactionService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.service; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SignTransactionService.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SignTransactionService.java index 0adc0653..a59e7675 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SignTransactionService.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/service/SignTransactionService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.service; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/BaseTransactionSigner.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/BaseTransactionSigner.java index 10aee57c..a39e9db0 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/BaseTransactionSigner.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/BaseTransactionSigner.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.crypto.ECKey; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/DefaultSigningRequest.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/DefaultSigningRequest.java index c47dc8f1..69d55a2a 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/DefaultSigningRequest.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/DefaultSigningRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.core.Transaction; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/ECKeySigner.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/ECKeySigner.java index 8b5ff1f1..4dac4f99 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/ECKeySigner.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/ECKeySigner.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.ScriptType; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/FeeCalculator.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/FeeCalculator.java index 598b39a6..3023fecd 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/FeeCalculator.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/FeeCalculator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/HDKeychainSigner.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/HDKeychainSigner.java index f05469ab..99e980f1 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/HDKeychainSigner.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/HDKeychainSigner.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/RawTransactionSigningRequest.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/RawTransactionSigningRequest.java index 2989455f..cc238c6b 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/RawTransactionSigningRequest.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/RawTransactionSigningRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Sha256Hash; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningRequest.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningRequest.java index b6af4a3e..e9ee8332 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningRequest.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningUtils.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningUtils.java index 2560525a..e6ed8498 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningUtils.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/SigningUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TestnetFeeCalculator.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TestnetFeeCalculator.java index 083e38df..7f49030c 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TestnetFeeCalculator.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TestnetFeeCalculator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputData.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputData.java index 555534a4..ec34cd4c 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputData.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputData.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputDataUtxo.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputDataUtxo.java index 26f74877..d8d4f4eb 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputDataUtxo.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionInputDataUtxo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputAddress.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputAddress.java index e0db867a..92021d19 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputAddress.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputAddress.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputData.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputData.java index 0d8a1e0e..8700fb4a 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputData.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputData.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputDataScript.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputDataScript.java index 6b12fbb3..a356e406 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputDataScript.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputDataScript.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputOpReturn.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputOpReturn.java index f029f0dc..a0f61f76 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputOpReturn.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionOutputOpReturn.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionSigner.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionSigner.java index 3b5fa45e..92a02c21 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionSigner.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionSigner.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.core.Transaction; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionVerification.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionVerification.java index d22d1007..d12966e8 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionVerification.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/TransactionVerification.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/Utxo.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/Utxo.java index 3576b491..e70972cd 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/Utxo.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/Utxo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing; import org.bitcoinj.base.Coin; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/package-info.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/package-info.java index 0bc43314..71b6f1b0 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/package-info.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/signing/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Incubating support for signing wallets using immutable, record-like classes. */ diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/BlockUtil.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/BlockUtil.java index 3e8c8ac8..9b7d8c7b 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/BlockUtil.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/BlockUtil.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.util; import org.bitcoinj.core.Block; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/package-info.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/package-info.java index 034ae2c2..c04e8f34 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/package-info.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/util/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Miscellaneous utility classes for bitcoinj */ diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardDeterministicKeyChain.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardDeterministicKeyChain.java index 1e5eb114..5e328866 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardDeterministicKeyChain.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardDeterministicKeyChain.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.wallet; import org.bitcoinj.base.Address; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardKeyChainGroupStructure.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardKeyChainGroupStructure.java index 46369109..0f29594a 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardKeyChainGroupStructure.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/BipStandardKeyChainGroupStructure.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.wallet; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/package-info.java b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/package-info.java index dbb21473..0240d9e1 100644 --- a/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/package-info.java +++ b/cj-bitcoinj-util/src/main/java/org/consensusj/bitcoinj/wallet/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Support for BIP-44 family HD Keychains, as a temporary solution until bitcoinj 0.17 is released. */ diff --git a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/DeterministicKeychainBaseSpec.groovy b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/DeterministicKeychainBaseSpec.groovy index 320082fc..d3131e69 100644 --- a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/DeterministicKeychainBaseSpec.groovy +++ b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/DeterministicKeychainBaseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/ECKeySignerSpec.groovy b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/ECKeySignerSpec.groovy index 81a9b6fe..cbe86521 100644 --- a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/ECKeySignerSpec.groovy +++ b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/ECKeySignerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/HDKeychainSignerSpec.groovy b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/HDKeychainSignerSpec.groovy index 7102aa8e..e9eca00f 100644 --- a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/HDKeychainSignerSpec.groovy +++ b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/HDKeychainSignerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing import org.bitcoinj.base.Address diff --git a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/KeychainRoundTripStepwiseSpec.groovy b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/KeychainRoundTripStepwiseSpec.groovy index 13f886d1..00446c4b 100644 --- a/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/KeychainRoundTripStepwiseSpec.groovy +++ b/cj-bitcoinj-util/src/test/groovy/org/consensusj/bitcoinj/signing/KeychainRoundTripStepwiseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoinj.signing import org.bitcoinj.base.Address diff --git a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinCLITool.java b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinCLITool.java index a3af97a4..dfaed9a3 100644 --- a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinCLITool.java +++ b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinCLITool.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.cli; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinRpcCliOptions.java b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinRpcCliOptions.java index dae8accb..b3b8ebc8 100644 --- a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinRpcCliOptions.java +++ b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/BitcoinRpcCliOptions.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.cli; import org.apache.commons.cli.Option; diff --git a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/package-info.java b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/package-info.java index 7ab2b178..09abcd69 100644 --- a/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/package-info.java +++ b/cj-btc-cli/src/main/java/org/consensusj/bitcoin/cli/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Command-line tool and library for communicating with cryptocurrency daemons using JSON-RPC */ diff --git a/cj-btc-cli/src/regTest/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolIntegrationSpec.groovy b/cj-btc-cli/src/regTest/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolIntegrationSpec.groovy index d4bd619c..7f691606 100644 --- a/cj-btc-cli/src/regTest/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolIntegrationSpec.groovy +++ b/cj-btc-cli/src/regTest/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolIntegrationSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.cli import org.consensusj.bitcoin.jsonrpc.test.TestServers diff --git a/cj-btc-cli/src/test/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolSpec.groovy b/cj-btc-cli/src/test/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolSpec.groovy index ded6f09d..c38e7c4c 100644 --- a/cj-btc-cli/src/test/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolSpec.groovy +++ b/cj-btc-cli/src/test/groovy/org/consensusj/bitcoin/cli/BitcoinCLIToolSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.cli import spock.lang.Specification diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressDeserializer.java index df4329ab..56f5f9f5 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonParser; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressKeyDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressKeyDeserializer.java index e1b98ce5..2bd7761a 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressKeyDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressKeyDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressSerializer.java index 4d4ee2fa..5f5d6a7c 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/AddressSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/BlockHexDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/BlockHexDeserializer.java index e51ad16c..e12001a4 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/BlockHexDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/BlockHexDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonParser; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinDeserializer.java index 18b64998..6f5e51ac 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonParser; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinSerializer.java index b002f185..89abc808 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/CoinSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeyDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeyDeserializer.java index 5e08e6cd..1832ae17 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeyDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeyDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonParser; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeySerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeySerializer.java index 66cfaeb6..89c5072b 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeySerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ECKeySerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/HexUtil.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/HexUtil.java index 8c8ebd53..b45c4fb5 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/HexUtil.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/HexUtil.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import java.util.Formatter; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/PeerSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/PeerSerializer.java index eb0758fc..4f4f2935 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/PeerSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/PeerSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcClientModule.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcClientModule.java index 64f01136..24cd9d48 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcClientModule.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcClientModule.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.Version; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcServerModule.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcServerModule.java index ae022262..38de789a 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcServerModule.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/RpcServerModule.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.Version; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ScriptSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ScriptSerializer.java index 1d8378a2..120dee15 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ScriptSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/ScriptSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashDeserializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashDeserializer.java index 8bf1f8bc..a1e217d3 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashDeserializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashDeserializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonParser; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashSerializer.java index d36d60a3..c7787e97 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/Sha256HashSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionHexSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionHexSerializer.java index a7703875..2f784c95 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionHexSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionHexSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionSerializer.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionSerializer.java index 2c7dfa12..f9615399 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionSerializer.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/TransactionSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/package-info.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/package-info.java index f048e4ac..838075b7 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/package-info.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/conversion/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Jackson JSON serializers, deserializers, modules, and utilities. */ diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressGroupingItem.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressGroupingItem.java index 1e0a1da4..e893a91b 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressGroupingItem.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressGroupingItem.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressInfo.java index f56475d8..4e73b68a 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/AddressInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import java.time.Instant; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BitcoinTransactionInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BitcoinTransactionInfo.java index 32553d69..c9da98e1 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BitcoinTransactionInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BitcoinTransactionInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonAnyGetter; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockChainInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockChainInfo.java index 49a69440..1389ac56 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockChainInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockChainInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockInfo.java index fcd2bfb5..250ee075 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/BlockInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ChainTip.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ChainTip.java index 2bdbc348..ad214002 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ChainTip.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ChainTip.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/LoadWalletResult.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/LoadWalletResult.java index 798284d7..53df1ed4 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/LoadWalletResult.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/LoadWalletResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MethodHelpEntry.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MethodHelpEntry.java index 1f8ba839..e4d36656 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MethodHelpEntry.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MethodHelpEntry.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; /** diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MinimalDescriptor.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MinimalDescriptor.java index be2e98ed..d33736f1 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MinimalDescriptor.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/MinimalDescriptor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/NetworkInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/NetworkInfo.java index 1b610747..209109cc 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/NetworkInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/NetworkInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/Outpoint.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/Outpoint.java index ccb8d538..4b53b54d 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/Outpoint.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/Outpoint.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/PrevTxOutInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/PrevTxOutInfo.java index 606c9c94..52d29fab 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/PrevTxOutInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/PrevTxOutInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import org.bitcoinj.base.Coin; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/RawTransactionInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/RawTransactionInfo.java index ebc7f124..e6501afb 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/RawTransactionInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/RawTransactionInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ReceivedByAddressInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ReceivedByAddressInfo.java index 29988f68..b7db2dd8 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ReceivedByAddressInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ReceivedByAddressInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ServerInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ServerInfo.java index 0eccbfa6..483f4492 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ServerInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ServerInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/SignedRawTransaction.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/SignedRawTransaction.java index 12190e20..cbd35154 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/SignedRawTransaction.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/SignedRawTransaction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutInfo.java index 837c6d15..57939dab 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutSetInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutSetInfo.java index a6e8001f..a306fcb1 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutSetInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/TxOutSetInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnloadWalletResult.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnloadWalletResult.java index 10ee2cea..6c2729ba 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnloadWalletResult.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnloadWalletResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnspentOutput.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnspentOutput.java index 20e47da5..e2119fa5 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnspentOutput.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UnspentOutput.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UtxoInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UtxoInfo.java index b444618d..328505b0 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UtxoInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/UtxoInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import org.bitcoinj.base.Coin; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/WalletTransactionInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/WalletTransactionInfo.java index 4e202273..aeadd900 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/WalletTransactionInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/WalletTransactionInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ZmqNotification.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ZmqNotification.java index b1803654..1f28c03c 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ZmqNotification.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/ZmqNotification.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressBalanceInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressBalanceInfo.java index 178655dd..1f4c8397 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressBalanceInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressBalanceInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo.bitcore; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressRequest.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressRequest.java index 0328d4b1..a8eb76e1 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressRequest.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo.bitcore; import org.bitcoinj.base.Address; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoInfo.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoInfo.java index 5b585d2f..36216001 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoInfo.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo.bitcore; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoResult.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoResult.java index 1518a989..0fad9bcd 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoResult.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/AddressUtxoResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo.bitcore; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/package-info.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/package-info.java index 0ca7914a..66801a94 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/package-info.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/bitcore/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Objects for BitCore indexing as implemented in OmniCore. *

diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/package-info.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/package-info.java index 324a6cea..4b2f33f0 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/package-info.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/pojo/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * POJOs definitions for JSON objects */ diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/BitcoinJsonRpc.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/BitcoinJsonRpc.java index ac2d0555..ace04e4d 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/BitcoinJsonRpc.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/BitcoinJsonRpc.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.rpc; import com.fasterxml.jackson.databind.JsonNode; diff --git a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/package-info.java b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/package-info.java index 5a0d1a7f..235b5c51 100644 --- a/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/package-info.java +++ b/cj-btc-json/src/main/java/org/consensusj/bitcoin/json/rpc/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * API definition interface(s) for the JSON-RPC server */ diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/AddressDeserializerSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/AddressDeserializerSpec.groovy index 6322e7e0..eae6d4af 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/AddressDeserializerSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/AddressDeserializerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion import org.bitcoinj.base.Address diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/BaseObjectMapperSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/BaseObjectMapperSpec.groovy index aed1eeb1..6626227c 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/BaseObjectMapperSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/BaseObjectMapperSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion import com.fasterxml.jackson.core.Version diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinDeserializerSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinDeserializerSpec.groovy index 976658bd..f4d47814 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinDeserializerSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinDeserializerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinSerializerSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinSerializerSpec.groovy index d5324933..97264946 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinSerializerSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/conversion/CoinSerializerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.conversion import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/AddressInfoSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/AddressInfoSpec.groovy index 390cd642..10401ae1 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/AddressInfoSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/AddressInfoSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo import com.fasterxml.jackson.databind.ObjectMapper diff --git a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/RawTransactionInfoSpec.groovy b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/RawTransactionInfoSpec.groovy index 8f960fef..67c0af70 100644 --- a/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/RawTransactionInfoSpec.groovy +++ b/cj-btc-json/src/test/groovy/org/consensusj/bitcoin/json/pojo/RawTransactionInfoSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.json.pojo import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BitcoinScriptingClient.groovy b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BitcoinScriptingClient.groovy index 5c7da967..c7a3cc1e 100644 --- a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BitcoinScriptingClient.groovy +++ b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BitcoinScriptingClient.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.groovy import com.fasterxml.jackson.databind.JavaType diff --git a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockCypherSyncing.groovy b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockCypherSyncing.groovy index f11db0d3..639ed5e6 100644 --- a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockCypherSyncing.groovy +++ b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockCypherSyncing.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.groovy import groovy.json.JsonSlurper diff --git a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockchainDotInfoSyncing.groovy b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockchainDotInfoSyncing.groovy index 77d53e58..87064566 100644 --- a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockchainDotInfoSyncing.groovy +++ b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/BlockchainDotInfoSyncing.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.groovy import groovy.json.JsonSlurper diff --git a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/test/JTransactionTestSupport.groovy b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/test/JTransactionTestSupport.groovy index eed18891..62d78dd2 100644 --- a/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/test/JTransactionTestSupport.groovy +++ b/cj-btc-jsonrpc-gvy/src/main/groovy/org/consensusj/bitcoin/jsonrpc/groovy/test/JTransactionTestSupport.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.groovy.test import org.consensusj.bitcoin.json.pojo.RawTransactionInfo diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/alpha/AlphaSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/alpha/AlphaSpec.groovy index 155b4f2f..71516267 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/alpha/AlphaSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/alpha/AlphaSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.alpha import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WalletSendSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WalletSendSpec.groovy index c48f96cd..df73faa3 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WalletSendSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WalletSendSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.bitcoinj import groovy.util.logging.Slf4j diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WorkingWithContractsSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WorkingWithContractsSpec.groovy index 914cee47..4e2f7f23 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WorkingWithContractsSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/bitcoinj/WorkingWithContractsSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.bitcoinj import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/funding/RegTestFundingSourceSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/funding/RegTestFundingSourceSpec.groovy index 1e2920fc..199ec8ec 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/funding/RegTestFundingSourceSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/funding/RegTestFundingSourceSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.funding diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletAppKitRegTestStepwise.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletAppKitRegTestStepwise.groovy index 7bd8ae6c..0a73bb81 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletAppKitRegTestStepwise.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletAppKitRegTestStepwise.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.services import groovy.util.logging.Slf4j diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletSigningServiceRegTestSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletSigningServiceRegTestSpec.groovy index a3011355..593b6897 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletSigningServiceRegTestSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/integ/services/WalletSigningServiceRegTestSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.services import groovy.util.logging.Slf4j diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BTCTestSupportIntegrationSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BTCTestSupportIntegrationSpec.groovy index 819946c8..17174453 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BTCTestSupportIntegrationSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BTCTestSupportIntegrationSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinCLIAPISpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinCLIAPISpec.groovy index 039c145a..378cc020 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinCLIAPISpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinCLIAPISpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinExtendedClientSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinExtendedClientSpec.groovy index 00271152..6520bf33 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinExtendedClientSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinExtendedClientSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinJRawTxSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinJRawTxSpec.groovy index b87d987b..02ce4ea7 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinJRawTxSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinJRawTxSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinRawTransactionSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinRawTransactionSpec.groovy index e713ecb2..db3c889a 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinRawTransactionSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinRawTransactionSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.bitcoinj.core.Transaction diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinSpec.groovy index 7518620b..30cdbfed 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.bitcoinj.base.ScriptType diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinStepwiseSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinStepwiseSpec.groovy index 85d09d67..ec0911e5 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinStepwiseSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/BitcoinStepwiseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/DynamicRpcClientSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/DynamicRpcClientSpec.groovy index 1ec3d93a..64283e29 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/DynamicRpcClientSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/DynamicRpcClientSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/FundingAndBlockChainEnvIntSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/FundingAndBlockChainEnvIntSpec.groovy index fc202930..fa4072c2 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/FundingAndBlockChainEnvIntSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/FundingAndBlockChainEnvIntSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetBlockSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetBlockSpec.groovy index 8e62a0b1..dcd4b14c 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetBlockSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetBlockSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetTxOutSetInfoSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetTxOutSetInfoSpec.groovy index 0c14bfe0..b6b48f26 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetTxOutSetInfoSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/GetTxOutSetInfoSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/HelpSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/HelpSpec.groovy index 89c80221..49936e20 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/HelpSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/HelpSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.consensusj.bitcoin.json.pojo.MethodHelpEntry diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/ImportPrivKeySpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/ImportPrivKeySpec.groovy index 5ac77b92..89f6e9fb 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/ImportPrivKeySpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/ImportPrivKeySpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc import org.bitcoinj.base.ScriptType diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressBalanceSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressBalanceSpec.groovy index afa9326b..8d795d82 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressBalanceSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressBalanceSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.bitcore import org.bitcoinj.base.Coin diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressUtxosSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressUtxosSpec.groovy index 2c99367e..3c28614c 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressUtxosSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/bitcore/GetAddressUtxosSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.bitcore import org.consensusj.bitcoin.json.pojo.bitcore.AddressUtxoInfo diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetBlockChainInfoSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetBlockChainInfoSpec.groovy index 741486b5..1a4f9570 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetBlockChainInfoSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetBlockChainInfoSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.blockchain import org.bitcoinj.base.Sha256Hash diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetTxOutSetInfoSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetTxOutSetInfoSpec.groovy index db4e11a9..5af072d2 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetTxOutSetInfoSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/blockchain/GetTxOutSetInfoSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.blockchain import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/BareMultisigSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/BareMultisigSpec.groovy index 04e83296..eb0d6309 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/BareMultisigSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/BareMultisigSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.tx import org.bitcoinj.base.Coin diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/OpReturnSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/OpReturnSpec.groovy index 274b48f8..9f6e17d5 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/OpReturnSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/OpReturnSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.tx import org.bitcoinj.base.Coin diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/P2PKHSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/P2PKHSpec.groovy index 21563227..df256090 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/P2PKHSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/P2PKHSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.tx import org.bitcoinj.base.Coin diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/TxTestBaseSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/TxTestBaseSpec.groovy index 6f0d98cb..f64528f1 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/TxTestBaseSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/tx/TxTestBaseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.tx import org.consensusj.bitcoin.test.BaseRegTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/CreateWalletSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/CreateWalletSpec.groovy index 6b0e9235..34b326a8 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/CreateWalletSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/CreateWalletSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.wallet import org.consensusj.bitcoin.jsonrpc.test.WalletTestUtil diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/ListTransactionsSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/ListTransactionsSpec.groovy index b2b225a3..f7a3bdd4 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/ListTransactionsSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/rpc/wallet/ListTransactionsSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rpc.wallet import org.consensusj.bitcoin.json.pojo.BitcoinTransactionInfo diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseMainNetTestSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseMainNetTestSpec.groovy index 5bee8404..9bbe9a5f 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseMainNetTestSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseMainNetTestSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.test import groovy.util.logging.Slf4j diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseRegTestSpec.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseRegTestSpec.groovy index 6ae1d4a1..dbee7eb7 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseRegTestSpec.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/BaseRegTestSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.test import groovy.util.logging.Slf4j diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/mainnet/MainNetSmokeTest.groovy b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/mainnet/MainNetSmokeTest.groovy index 91b1c238..4e96ff7e 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/mainnet/MainNetSmokeTest.groovy +++ b/cj-btc-jsonrpc-integ-test/src/regTest/groovy/org/consensusj/bitcoin/test/mainnet/MainNetSmokeTest.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.test.mainnet import org.consensusj.bitcoin.test.BaseMainNetTestSpec diff --git a/cj-btc-jsonrpc-integ-test/src/regTest/java/org/consensusj/bitcoin/integ/java/WalletAppKitRegTest.java b/cj-btc-jsonrpc-integ-test/src/regTest/java/org/consensusj/bitcoin/integ/java/WalletAppKitRegTest.java index 57436a27..c4bb3590 100644 --- a/cj-btc-jsonrpc-integ-test/src/regTest/java/org/consensusj/bitcoin/integ/java/WalletAppKitRegTest.java +++ b/cj-btc-jsonrpc-integ-test/src/regTest/java/org/consensusj/bitcoin/integ/java/WalletAppKitRegTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.integ.java; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinClient.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinClient.java index a5bcbf41..17318168 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinClient.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc; import com.fasterxml.jackson.databind.JavaType; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java index 87f58c92..d1992f98 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc; import com.fasterxml.jackson.databind.JavaType; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/ChainTipClient.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/ChainTipClient.java index 30c150e8..d9600cdf 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/ChainTipClient.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/ChainTipClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc; import org.consensusj.bitcoin.json.pojo.ChainTip; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcConfig.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcConfig.java index 3295ab84..ccaafcbe 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcConfig.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcURI.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcURI.java index 7a5a7963..8d4606b4 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcURI.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/RpcURI.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc; import java.net.URI; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConf.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConf.java index 09e01078..a1670abd 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConf.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConf.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.bitcoind; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFile.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFile.java index 09e72d4a..b9fc4c38 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFile.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFile.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.bitcoind; import org.slf4j.Logger; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/package-info.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/package-info.java index d1cd31b1..3f1e0a43 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/package-info.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/bitcoind/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Support for reading RPC client connection info from `bitcoin.conf` file */ diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/internal/BitcoinClientThreadFactory.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/internal/BitcoinClientThreadFactory.java index 2d4d3373..d76fee24 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/internal/BitcoinClientThreadFactory.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/internal/BitcoinClientThreadFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.internal; import org.bitcoinj.core.Context; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/package-info.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/package-info.java index 2da48941..8c46fc0b 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/package-info.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Bitcoin JSON-RPC Java client and supporting classes. */ diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BTCTestSupport.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BTCTestSupport.java index 44fe8814..13e65cda 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BTCTestSupport.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BTCTestSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.bitcoinj.base.Network; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BitcoinClientAccessor.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BitcoinClientAccessor.java index f2a954fc..9e38dbe9 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BitcoinClientAccessor.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BitcoinClientAccessor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockChainEnvironment.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockChainEnvironment.java index edea5c66..5695b35c 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockChainEnvironment.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockChainEnvironment.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.bitcoinj.base.Sha256Hash; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockchainSyncing.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockchainSyncing.java index 27b16aba..c0a84d13 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockchainSyncing.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/BlockchainSyncing.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.consensusj.bitcoin.jsonrpc.BitcoinClient; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSource.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSource.java index 66d89809..68dbf0cb 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSource.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.bitcoinj.base.Address; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSourceAccessor.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSourceAccessor.java index a1cb234b..25a710a7 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSourceAccessor.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/FundingSourceAccessor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; /** diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestEnvironment.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestEnvironment.java index 62e53fc1..e06dc87a 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestEnvironment.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestEnvironment.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestFundingSource.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestFundingSource.java index 8b76c5e4..28d91d70 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestFundingSource.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/RegTestFundingSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.bitcoinj.base.BitcoinNetwork; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TestServers.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TestServers.java index afa8da01..ed8d12fe 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TestServers.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TestServers.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; /** diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TransactionIngredients.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TransactionIngredients.java index 759b28a9..09fbc6d5 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TransactionIngredients.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/TransactionIngredients.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import org.bitcoinj.base.Address; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/WalletTestUtil.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/WalletTestUtil.java index 2b608b48..91b060ac 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/WalletTestUtil.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/WalletTestUtil.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.test; import java.util.Random; diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/package-info.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/package-info.java index eb01bcbf..f63356c5 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/package-info.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/test/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Bitcoin JSON-RPC functional test support classes */ diff --git a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinClientSpec.groovy b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinClientSpec.groovy index 10e0e495..043f2de0 100644 --- a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinClientSpec.groovy +++ b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinClientSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc import spock.lang.Specification diff --git a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClientSpec.groovy b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClientSpec.groovy index f39a6914..7a187ab0 100644 --- a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClientSpec.groovy +++ b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClientSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc import spock.lang.Specification diff --git a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/RpcURISpec.groovy b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/RpcURISpec.groovy index c2a004b2..c480bdd5 100644 --- a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/RpcURISpec.groovy +++ b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/RpcURISpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc import org.consensusj.bitcoin.jsonrpc.RpcURI diff --git a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFileSpec.groovy b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFileSpec.groovy index 6543fd9f..e4f06369 100644 --- a/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFileSpec.groovy +++ b/cj-btc-jsonrpc/src/test/groovy/org/consensusj/bitcoin/jsonrpc/bitcoind/BitcoinConfFileSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.jsonrpc.bitcoind import org.consensusj.bitcoin.jsonrpc.bitcoind.BitcoinConfFile diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipService.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipService.java index 3c5359f9..fcd183a5 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipService.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc; import io.reactivex.rxjava3.core.BackpressureStrategy; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipServiceImpl.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipServiceImpl.java index d6aad932..e7161db0 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipServiceImpl.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/PollingChainTipServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc; import io.reactivex.rxjava3.core.BackpressureStrategy; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxBitcoinClient.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxBitcoinClient.java index be343647..565c8bd0 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxBitcoinClient.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxBitcoinClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc; import org.bitcoinj.base.Network; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxJsonChainTipClient.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxJsonChainTipClient.java index fb6cf3e9..8179a900 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxJsonChainTipClient.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/RxJsonChainTipClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/TxOutSetWatcherSample.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/TxOutSetWatcherSample.java index deecd10a..792b9271 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/TxOutSetWatcherSample.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/TxOutSetWatcherSample.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/service/TxOutSetService.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/service/TxOutSetService.java index bcbb44bc..36dc4f7d 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/service/TxOutSetService.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/service/TxOutSetService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc.service; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/test/TestChainTipPublishers.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/test/TestChainTipPublishers.java index 979401a1..933d29f6 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/test/TestChainTipPublishers.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/jsonrpc/test/TestChainTipPublishers.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.jsonrpc.test; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqMessage.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqMessage.java index 10a49a96..d629724d 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqMessage.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqMessage.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; /** diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqPortFinder.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqPortFinder.java index 97f8ad2e..93b44692 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqPortFinder.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/BitcoinZmqPortFinder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; import org.consensusj.bitcoin.json.pojo.ZmqNotification; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinSinglePortZmqService.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinSinglePortZmqService.java index 3869fc28..dfa2df5e 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinSinglePortZmqService.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinSinglePortZmqService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqBinaryService.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqBinaryService.java index 4ab957d5..5c84dea9 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqBinaryService.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqBinaryService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; import org.bitcoinj.base.Network; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqService.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqService.java index 8617da75..e98ee855 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqService.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/RxBitcoinZmqService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; import io.reactivex.rxjava3.core.Single; diff --git a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/SampleBitcoinZmqClient.java b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/SampleBitcoinZmqClient.java index 38a878ae..9498924c 100644 --- a/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/SampleBitcoinZmqClient.java +++ b/cj-btc-rx-jsonrpc/src/main/java/org/consensusj/bitcoin/rx/zeromq/SampleBitcoinZmqClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq; import io.reactivex.rxjava3.core.Flowable; diff --git a/cj-btc-rx-jsonrpc/src/test/groovy/org/consensusj/bitcoin/rx/zeromq/TcpUriSpecification.groovy b/cj-btc-rx-jsonrpc/src/test/groovy/org/consensusj/bitcoin/rx/zeromq/TcpUriSpecification.groovy index 88ad405f..e5c07854 100644 --- a/cj-btc-rx-jsonrpc/src/test/groovy/org/consensusj/bitcoin/rx/zeromq/TcpUriSpecification.groovy +++ b/cj-btc-rx-jsonrpc/src/test/groovy/org/consensusj/bitcoin/rx/zeromq/TcpUriSpecification.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.zeromq import spock.lang.Specification diff --git a/cj-btc-rx-peergroup/src/main/java/org/consensusj/bitcoin/rx/peergroup/RxPeerGroup.java b/cj-btc-rx-peergroup/src/main/java/org/consensusj/bitcoin/rx/peergroup/RxPeerGroup.java index 8eec7670..3dd6a124 100644 --- a/cj-btc-rx-peergroup/src/main/java/org/consensusj/bitcoin/rx/peergroup/RxPeerGroup.java +++ b/cj-btc-rx-peergroup/src/main/java/org/consensusj/bitcoin/rx/peergroup/RxPeerGroup.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx.peergroup; import org.consensusj.bitcoin.json.pojo.ChainTip; diff --git a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipPublisher.java b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipPublisher.java index 6ca9d1a1..2d9f561b 100644 --- a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipPublisher.java +++ b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipPublisher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx; import org.consensusj.bitcoin.json.pojo.ChainTip; diff --git a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipService.java b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipService.java index 3849bad0..6dedff8b 100644 --- a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipService.java +++ b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/ChainTipService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx; import org.consensusj.bitcoin.json.pojo.ChainTip; diff --git a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainBinaryService.java b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainBinaryService.java index 76c11a0d..5c326edd 100644 --- a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainBinaryService.java +++ b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainBinaryService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx; import org.reactivestreams.Publisher; diff --git a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainService.java b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainService.java index 6bd6ba30..5c61000b 100644 --- a/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainService.java +++ b/cj-btc-rx/src/main/java/org/consensusj/bitcoin/rx/RxBlockchainService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.rx; import org.consensusj.bitcoin.json.pojo.ChainTip; diff --git a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletAppKitService.java b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletAppKitService.java index ba7ed18f..e3220102 100644 --- a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletAppKitService.java +++ b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletAppKitService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.services; import com.fasterxml.jackson.databind.JsonNode; diff --git a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletSigningService.java b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletSigningService.java index 6a4f52a8..ed813630 100644 --- a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletSigningService.java +++ b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/WalletSigningService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.services; import org.bitcoinj.base.Address; diff --git a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/package-info.java b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/package-info.java index dfabc59e..7c734d2c 100644 --- a/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/package-info.java +++ b/cj-btc-services/src/main/java/org/consensusj/bitcoin/services/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Reusable Dependency-injected services for Bitcoin server applications and microservices. */ diff --git a/cj-btc-services/src/test/groovy/org/consensusj/bitcoin/services/WalletAppKitServiceSpec.groovy b/cj-btc-services/src/test/groovy/org/consensusj/bitcoin/services/WalletAppKitServiceSpec.groovy index 6f0014d1..037951c3 100644 --- a/cj-btc-services/src/test/groovy/org/consensusj/bitcoin/services/WalletAppKitServiceSpec.groovy +++ b/cj-btc-services/src/test/groovy/org/consensusj/bitcoin/services/WalletAppKitServiceSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.bitcoin.services import org.bitcoinj.base.BitcoinNetwork diff --git a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/Application.java b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/Application.java index 12f5f5b4..5135328b 100644 --- a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/Application.java +++ b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/Application.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.runtime.Micronaut; diff --git a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfig.java b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfig.java index 60e68fb0..e634bb86 100644 --- a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfig.java +++ b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.context.annotation.ConfigurationProperties; diff --git a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinFactory.java b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinFactory.java index d2b94be3..5577595c 100644 --- a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinFactory.java +++ b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import com.fasterxml.jackson.databind.Module; diff --git a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinRestController.java b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinRestController.java index fe0adeb6..83aaf335 100644 --- a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinRestController.java +++ b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/BitcoinRestController.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import org.consensusj.bitcoin.json.pojo.BlockChainInfo; diff --git a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/JsonRpcController.java b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/JsonRpcController.java index fdedde3f..51bb0e5a 100644 --- a/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/JsonRpcController.java +++ b/cj-btc-walletd/src/main/java/org/consensusj/daemon/micronaut/JsonRpcController.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.context.annotation.Context; diff --git a/cj-btc-walletd/src/main/resources/META-INF/native-image/org.consensusj.daemon.micronaut/application/native-image.properties b/cj-btc-walletd/src/main/resources/META-INF/native-image/org.consensusj.daemon.micronaut/application/native-image.properties index 1a9c8135..b613b802 100644 --- a/cj-btc-walletd/src/main/resources/META-INF/native-image/org.consensusj.daemon.micronaut/application/native-image.properties +++ b/cj-btc-walletd/src/main/resources/META-INF/native-image/org.consensusj.daemon.micronaut/application/native-image.properties @@ -1 +1,17 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + Args = -H:IncludeResources=logback.xml|application.yml diff --git a/cj-btc-walletd/src/main/resources/logback.xml b/cj-btc-walletd/src/main/resources/logback.xml index 0f5c66b5..10765666 100644 --- a/cj-btc-walletd/src/main/resources/logback.xml +++ b/cj-btc-walletd/src/main/resources/logback.xml @@ -1,3 +1,20 @@ + diff --git a/cj-btc-walletd/src/main/resources/micronaut-banner.txt b/cj-btc-walletd/src/main/resources/micronaut-banner.txt index 5268a18d..599700bb 100644 --- a/cj-btc-walletd/src/main/resources/micronaut-banner.txt +++ b/cj-btc-walletd/src/main/resources/micronaut-banner.txt @@ -1,3 +1,19 @@ +==== + Copyright 2014-2026 ConsensusJ Developers. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==== + ____ __ __ _ _____ _/ / /__ / /____/ / | |/|/ / _ `/ / / -_) __/ _ / diff --git a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ApplicationTest.java b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ApplicationTest.java index 43969edc..551e487a 100644 --- a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ApplicationTest.java +++ b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ApplicationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.runtime.server.EmbeddedServer; diff --git a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfigTest.java b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfigTest.java index ceb6c561..b5be90b4 100644 --- a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfigTest.java +++ b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/BitcoinDaemonConfigTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.context.ApplicationContext; diff --git a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ServerStopTest.java b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ServerStopTest.java index 142a1575..b5bfe3b9 100644 --- a/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ServerStopTest.java +++ b/cj-btc-walletd/src/test/java/org/consensusj/daemon/micronaut/ServerStopTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.daemon.micronaut; import io.micronaut.runtime.server.EmbeddedServer; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/service/RichListService.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/service/RichListService.java index 8f675eea..d5ef3964 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/service/RichListService.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/service/RichListService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.service; import io.reactivex.rxjava3.core.Single; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/service/TokenRichList.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/service/TokenRichList.java index 10a3081b..d15ecce1 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/service/TokenRichList.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/service/TokenRichList.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.service; import org.bitcoinj.base.Address; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceAccumulator.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceAccumulator.java index 62345c88..b401d016 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceAccumulator.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceAccumulator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector; import org.slf4j.Logger; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceCollector.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceCollector.java index dce73bfc..60422894 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceCollector.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceCollector.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceList.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceList.java index 9a5dff01..c5ad587f 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceList.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceList.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector; import java.util.List; diff --git a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceListImpl.java b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceListImpl.java index cd094bb4..fcd08440 100644 --- a/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceListImpl.java +++ b/consensusj-analytics/src/main/java/org/consensusj/analytics/util/collector/LargestSliceListImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector; import java.util.ArrayList; diff --git a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/BalancePair.java b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/BalancePair.java index 8adadc2a..083c3f4f 100644 --- a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/BalancePair.java +++ b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/BalancePair.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector; /** diff --git a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorSpec.groovy b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorSpec.groovy index 1a263de7..8afb1a6b 100644 --- a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorSpec.groovy +++ b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector diff --git a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorStepwiseSpec.groovy b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorStepwiseSpec.groovy index 9e1b777a..6f35eb36 100644 --- a/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorStepwiseSpec.groovy +++ b/consensusj-analytics/src/test/groovy/org/consensusj/analytics/util/collector/LargestSliceAccumulatorStepwiseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.analytics.util.collector diff --git a/consensusj-currency/src/main/java/org/consensusj/currency/BitcoinCurrencyProvider.java b/consensusj-currency/src/main/java/org/consensusj/currency/BitcoinCurrencyProvider.java index 29597011..eb108368 100644 --- a/consensusj-currency/src/main/java/org/consensusj/currency/BitcoinCurrencyProvider.java +++ b/consensusj-currency/src/main/java/org/consensusj/currency/BitcoinCurrencyProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.currency; import org.javamoney.moneta.CurrencyUnitBuilder; diff --git a/consensusj-currency/src/main/java/org/consensusj/currency/package-info.java b/consensusj-currency/src/main/java/org/consensusj/currency/package-info.java index 4cf11e02..f26dd3b2 100644 --- a/consensusj-currency/src/main/java/org/consensusj/currency/package-info.java +++ b/consensusj-currency/src/main/java/org/consensusj/currency/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Bitcoin currency provider for JavaMoney (JSR-354) */ diff --git a/consensusj-currency/src/test/groovy/org/consensusj/currency/BitcoinCurrencyProviderSpec.groovy b/consensusj-currency/src/test/groovy/org/consensusj/currency/BitcoinCurrencyProviderSpec.groovy index d8b63700..88e5a9b9 100644 --- a/consensusj-currency/src/test/groovy/org/consensusj/currency/BitcoinCurrencyProviderSpec.groovy +++ b/consensusj-currency/src/test/groovy/org/consensusj/currency/BitcoinCurrencyProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.currency import org.javamoney.moneta.CurrencyUnitBuilder diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/BaseXChangeExchangeRateProvider.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/BaseXChangeExchangeRateProvider.java index 25a59bf3..97059bc4 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/BaseXChangeExchangeRateProvider.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/BaseXChangeExchangeRateProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; import org.consensusj.exchange.knowm.KnowmExchangeRateProvider; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/CurrencyUnitPair.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/CurrencyUnitPair.java index a1c66b01..02d1363c 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/CurrencyUnitPair.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/CurrencyUnitPair.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; import javax.money.CurrencyUnit; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateChange.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateChange.java index 7cd90568..aeae9285 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateChange.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateChange.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; import javax.money.convert.ExchangeRate; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateObserver.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateObserver.java index 1fd4c9f5..7d10c6fe 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateObserver.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeRateObserver.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; /** diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeUtils.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeUtils.java index bbad66c8..b479740a 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeUtils.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/ExchangeUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; import java.util.Arrays; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/ObservableExchangeRateProvider.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/ObservableExchangeRateProvider.java index 4b1079f5..41b8cad9 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/ObservableExchangeRateProvider.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/ObservableExchangeRateProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange; import javax.money.convert.ExchangeRateProvider; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/KnowmExchangeRateProvider.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/KnowmExchangeRateProvider.java index add3a39e..7df754c7 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/KnowmExchangeRateProvider.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/KnowmExchangeRateProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.knowm; import org.consensusj.exchange.CurrencyUnitPair; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProvider.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProvider.java index 659a9a75..83060714 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProvider.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.knowm; import io.reactivex.rxjava3.annotations.NonNull; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/package-info.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/package-info.java index f0dbfbe5..98560346 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/package-info.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * JavaMoney (JSR-354) support for Cryptocurrency exchanges */ diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ExchangeRateUpdate.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ExchangeRateUpdate.java index f96b92d6..ad362ed9 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ExchangeRateUpdate.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ExchangeRateUpdate.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.rx; import org.consensusj.exchange.CurrencyUnitPair; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ObservablePair.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ObservablePair.java index d193dba9..4b435034 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ObservablePair.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ObservablePair.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.rx; import io.reactivex.rxjava3.core.ObservableSource; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/PolledObservablePair.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/PolledObservablePair.java index fdd60818..26f710a8 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/PolledObservablePair.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/PolledObservablePair.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.rx; import io.reactivex.rxjava3.annotations.NonNull; diff --git a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ReactiveExchange.java b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ReactiveExchange.java index bd7fd54e..64213bb4 100644 --- a/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ReactiveExchange.java +++ b/consensusj-exchange/src/main/java/org/consensusj/exchange/rx/ReactiveExchange.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.rx; import org.consensusj.exchange.CurrencyUnitPair; diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/AbstractXChangeRateProviderSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/AbstractXChangeRateProviderSpec.groovy index e6389fbc..68c51ff3 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/AbstractXChangeRateProviderSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/AbstractXChangeRateProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange import org.javamoney.moneta.Money diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/BitfinexXChangeRateProviderSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/BitfinexXChangeRateProviderSpec.groovy index b90562a0..eedccb3a 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/BitfinexXChangeRateProviderSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/BitfinexXChangeRateProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange import spock.lang.Ignore diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/CoinbaseProXChangeRateProviderSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/CoinbaseProXChangeRateProviderSpec.groovy index 0e36eb82..92ecf255 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/CoinbaseProXChangeRateProviderSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/CoinbaseProXChangeRateProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange import spock.lang.Ignore diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/ItBitXChangeRateProviderSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/ItBitXChangeRateProviderSpec.groovy index 987b07fe..900a6185 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/ItBitXChangeRateProviderSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/ItBitXChangeRateProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange import spock.lang.Ignore diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProviderSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProviderSpec.groovy index ce3f8774..db9d8676 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProviderSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/knowm/ReactiveKnowmExchangeProviderSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.knowm import groovy.util.logging.Slf4j diff --git a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/rx/ObservablePairSpec.groovy b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/rx/ObservablePairSpec.groovy index 28a1dabc..e8a4fa4f 100644 --- a/consensusj-exchange/src/test/groovy/org/consensusj/exchange/rx/ObservablePairSpec.groovy +++ b/consensusj-exchange/src/test/groovy/org/consensusj/exchange/rx/ObservablePairSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.exchange.rx import io.reactivex.rxjava3.core.Observable diff --git a/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/Application.java b/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/Application.java index ab856b52..e312aabf 100644 --- a/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/Application.java +++ b/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/Application.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.daemon; import io.micronaut.context.annotation.Bean; diff --git a/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/JsonRpcController.java b/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/JsonRpcController.java index 8004ce28..2d338359 100644 --- a/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/JsonRpcController.java +++ b/consensusj-jrpc-echod/src/main/java/org/consensusj/jsonrpc/daemon/JsonRpcController.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.daemon; import com.fasterxml.jackson.databind.PropertyNamingStrategies; diff --git a/consensusj-jrpc-echod/src/main/resources/META-INF/native-image/org.consensusj.jsonrpc.daemon/jsonrpcdaemon/native-image.properties b/consensusj-jrpc-echod/src/main/resources/META-INF/native-image/org.consensusj.jsonrpc.daemon/jsonrpcdaemon/native-image.properties index 1a9c8135..b613b802 100644 --- a/consensusj-jrpc-echod/src/main/resources/META-INF/native-image/org.consensusj.jsonrpc.daemon/jsonrpcdaemon/native-image.properties +++ b/consensusj-jrpc-echod/src/main/resources/META-INF/native-image/org.consensusj.jsonrpc.daemon/jsonrpcdaemon/native-image.properties @@ -1 +1,17 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + Args = -H:IncludeResources=logback.xml|application.yml diff --git a/consensusj-jrpc-echod/src/main/resources/application.yml b/consensusj-jrpc-echod/src/main/resources/application.yml index de4064d3..d4e61bb3 100644 --- a/consensusj-jrpc-echod/src/main/resources/application.yml +++ b/consensusj-jrpc-echod/src/main/resources/application.yml @@ -1,3 +1,19 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + micronaut: application: name: jrpc-echod diff --git a/consensusj-jrpc-echod/src/main/resources/logback.xml b/consensusj-jrpc-echod/src/main/resources/logback.xml index 2d77bdab..12afaa4e 100644 --- a/consensusj-jrpc-echod/src/main/resources/logback.xml +++ b/consensusj-jrpc-echod/src/main/resources/logback.xml @@ -1,3 +1,20 @@ + diff --git a/consensusj-jrpc-echod/src/main/resources/micronaut-banner.txt b/consensusj-jrpc-echod/src/main/resources/micronaut-banner.txt index 6f0c21f5..8955db01 100644 --- a/consensusj-jrpc-echod/src/main/resources/micronaut-banner.txt +++ b/consensusj-jrpc-echod/src/main/resources/micronaut-banner.txt @@ -1,3 +1,19 @@ +==== + Copyright 2014-2026 ConsensusJ Developers. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==== + _ __ __ (_)______ ____ ___ ____/ / ___ ___/ / / / __/ _ \/ __/ _ / -_) __/ _ \/ _ \/ _ / diff --git a/consensusj-jrpc-echod/src/test/java/org/consensusj/jsonrpc/daemon/ApplicationTest.java b/consensusj-jrpc-echod/src/test/java/org/consensusj/jsonrpc/daemon/ApplicationTest.java index 9648ae8e..6085e697 100644 --- a/consensusj-jrpc-echod/src/test/java/org/consensusj/jsonrpc/daemon/ApplicationTest.java +++ b/consensusj-jrpc-echod/src/test/java/org/consensusj/jsonrpc/daemon/ApplicationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.daemon; import io.micronaut.runtime.server.EmbeddedServer; diff --git a/consensusj-jrpc-echod/src/test/resources/application-test.yml b/consensusj-jrpc-echod/src/test/resources/application-test.yml index 53280a37..d6ba9578 100644 --- a/consensusj-jrpc-echod/src/test/resources/application-test.yml +++ b/consensusj-jrpc-echod/src/test/resources/application-test.yml @@ -1,3 +1,19 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + micronaut: server: netty: diff --git a/consensusj-jrpc/src/integrationTest/java/org/consensusj/jrpc/RegTestServerTests.java b/consensusj-jrpc/src/integrationTest/java/org/consensusj/jrpc/RegTestServerTests.java index e91b5ee1..2610a787 100644 --- a/consensusj-jrpc/src/integrationTest/java/org/consensusj/jrpc/RegTestServerTests.java +++ b/consensusj-jrpc/src/integrationTest/java/org/consensusj/jrpc/RegTestServerTests.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jrpc; import org.junit.jupiter.api.Test; diff --git a/consensusj-jrpc/src/main/java/module-info.java b/consensusj-jrpc/src/main/java/module-info.java index 9475b262..af8461eb 100644 --- a/consensusj-jrpc/src/main/java/module-info.java +++ b/consensusj-jrpc/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import org.jspecify.annotations.NullMarked; /** diff --git a/consensusj-jrpc/src/main/java/org/consensusj/jrpc/JRpc.java b/consensusj-jrpc/src/main/java/org/consensusj/jrpc/JRpc.java index cd66ab37..d0e54807 100644 --- a/consensusj-jrpc/src/main/java/org/consensusj/jrpc/JRpc.java +++ b/consensusj-jrpc/src/main/java/org/consensusj/jrpc/JRpc.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jrpc; import com.fasterxml.jackson.databind.JsonNode; diff --git a/consensusj-jrpc/src/main/java/org/consensusj/jrpc/config/JRpcConfigFile.java b/consensusj-jrpc/src/main/java/org/consensusj/jrpc/config/JRpcConfigFile.java index cc361b78..a3f2eac3 100644 --- a/consensusj-jrpc/src/main/java/org/consensusj/jrpc/config/JRpcConfigFile.java +++ b/consensusj-jrpc/src/main/java/org/consensusj/jrpc/config/JRpcConfigFile.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jrpc.config; import com.fasterxml.jackson.databind.JsonNode; diff --git a/consensusj-jrpc/src/main/resources/logging.properties b/consensusj-jrpc/src/main/resources/logging.properties index 9dcd89d9..882d833c 100644 --- a/consensusj-jrpc/src/main/resources/logging.properties +++ b/consensusj-jrpc/src/main/resources/logging.properties @@ -1,3 +1,19 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + handlers=java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=%1$tH:%1$tM:%1$tS.%1$tL %4$-7s %5$s %6$s%n diff --git a/consensusj-jrpc/src/test/java/org/consensusj/jrpc/ToolProviderTests.java b/consensusj-jrpc/src/test/java/org/consensusj/jrpc/ToolProviderTests.java index c7ede8d9..12ea4985 100644 --- a/consensusj-jrpc/src/test/java/org/consensusj/jrpc/ToolProviderTests.java +++ b/consensusj-jrpc/src/test/java/org/consensusj/jrpc/ToolProviderTests.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jrpc; import org.consensusj.jsonrpc.cli.test.CLITestSupport; diff --git a/consensusj-jsonrpc-cli/src/main/java/module-info.java b/consensusj-jsonrpc-cli/src/main/java/module-info.java index 7af1c0ab..1a3f266b 100644 --- a/consensusj-jsonrpc-cli/src/main/java/module-info.java +++ b/consensusj-jsonrpc-cli/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Java Module Declaration */ diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/BaseJsonRpcTool.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/BaseJsonRpcTool.java index c0f0e0af..c0cb5e4b 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/BaseJsonRpcTool.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/BaseJsonRpcTool.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; import com.fasterxml.jackson.databind.JsonNode; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameter.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameter.java index 1ae7528b..73b1fcf3 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameter.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameterParser.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameterParser.java index 5951e09a..490f79a5 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameterParser.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/CliParameterParser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; import com.fasterxml.jackson.databind.JsonNode; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JavaLoggingSupport.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JavaLoggingSupport.java index 9e95ca23..cea1e8bc 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JavaLoggingSupport.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JavaLoggingSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; import java.io.IOException; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcClientTool.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcClientTool.java index 633cc3b5..5c9b6055 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcClientTool.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcClientTool.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; /** diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcToolOptions.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcToolOptions.java index 8802b97b..8bdf0ba9 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcToolOptions.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/JsonRpcToolOptions.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcConfigFile.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcConfigFile.java index 8d951b7b..0c1bf5c7 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcConfigFile.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcConfigFile.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli.config; import com.fasterxml.jackson.databind.JsonNode; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcServerConfigEntry.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcServerConfigEntry.java index 1d57ef82..b878bd6f 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcServerConfigEntry.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/JsonRpcServerConfigEntry.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli.config; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/XdgDataDir.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/XdgDataDir.java index a136bd39..13d5a14c 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/XdgDataDir.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/config/XdgDataDir.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli.config; import java.nio.file.Path; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLICommandResult.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLICommandResult.java index 7621a2e2..bc07e8df 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLICommandResult.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLICommandResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli.test; import java.io.ByteArrayOutputStream; diff --git a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLITestSupport.java b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLITestSupport.java index 12e855d7..e37068f6 100644 --- a/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLITestSupport.java +++ b/consensusj-jsonrpc-cli/src/main/java/org/consensusj/jsonrpc/cli/test/CLITestSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli.test; import java.io.ByteArrayOutputStream; diff --git a/consensusj-jsonrpc-cli/src/main/resources/logging.properties b/consensusj-jsonrpc-cli/src/main/resources/logging.properties index 9dcd89d9..882d833c 100644 --- a/consensusj-jsonrpc-cli/src/main/resources/logging.properties +++ b/consensusj-jsonrpc-cli/src/main/resources/logging.properties @@ -1,3 +1,19 @@ +# +# Copyright 2014-2026 ConsensusJ Developers. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + handlers=java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=%1$tH:%1$tM:%1$tS.%1$tL %4$-7s %5$s %6$s%n diff --git a/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/BaseJsonRpcToolSpec.groovy b/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/BaseJsonRpcToolSpec.groovy index 324e63dd..138efaf3 100644 --- a/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/BaseJsonRpcToolSpec.groovy +++ b/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/BaseJsonRpcToolSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli import org.apache.commons.cli.Options diff --git a/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/CliParameterParserTest.groovy b/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/CliParameterParserTest.groovy index 75dd9726..a4f3118d 100644 --- a/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/CliParameterParserTest.groovy +++ b/consensusj-jsonrpc-cli/src/test/groovy/org/consensusj/jsonrpc/cli/CliParameterParserTest.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.cli import com.fasterxml.jackson.databind.ObjectMapper diff --git a/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcClient.groovy b/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcClient.groovy index ca035eb7..205d2402 100644 --- a/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcClient.groovy +++ b/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcClient.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.groovy import org.consensusj.jsonrpc.DefaultRpcClient diff --git a/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcMethodFallback.groovy b/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcMethodFallback.groovy index f837b775..0fcca448 100644 --- a/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcMethodFallback.groovy +++ b/consensusj-jsonrpc-gvy/src/main/groovy/org/consensusj/jsonrpc/groovy/DynamicRpcMethodFallback.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.groovy import org.consensusj.jsonrpc.JsonRpcClient diff --git a/consensusj-jsonrpc-gvy/src/main/java/module-info.java b/consensusj-jsonrpc-gvy/src/main/java/module-info.java index 285e19d1..952d63b9 100644 --- a/consensusj-jsonrpc-gvy/src/main/java/module-info.java +++ b/consensusj-jsonrpc-gvy/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Java Module Declaration */ diff --git a/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/Dummy.java b/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/Dummy.java index 6d8f5fb7..cb3b8d54 100644 --- a/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/Dummy.java +++ b/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/Dummy.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.groovy; /** diff --git a/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/package-info.java b/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/package-info.java index a821b7da..cae4b432 100644 --- a/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/package-info.java +++ b/consensusj-jsonrpc-gvy/src/main/java/org/consensusj/jsonrpc/groovy/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * JSON-RPC Groovy dynamic client and supporting classes. */ diff --git a/consensusj-jsonrpc/src/main/java/module-info.java b/consensusj-jsonrpc/src/main/java/module-info.java index f9e16fe6..fa6bb094 100644 --- a/consensusj-jsonrpc/src/main/java/module-info.java +++ b/consensusj-jsonrpc/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Java Module Declaration */ diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/AsyncSupport.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/AsyncSupport.java index 176ce09c..4dd4d899 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/AsyncSupport.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/AsyncSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import java.io.IOException; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/CompositeTrustManager.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/CompositeTrustManager.java index 3b3152da..4c47e974 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/CompositeTrustManager.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/CompositeTrustManager.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import org.jspecify.annotations.Nullable; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/DefaultRpcClient.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/DefaultRpcClient.java index 62f0eeba..993bd72e 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/DefaultRpcClient.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/DefaultRpcClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.databind.DeserializationFeature; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClient.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClient.java index 86a97248..46cc2eac 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClient.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import java.io.IOException; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnection.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnection.java index d64da36d..2c544c32 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnection.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnection.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientJavaNet.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientJavaNet.java index 7756cf76..0da325e8 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientJavaNet.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcClientJavaNet.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcError.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcError.java index d6e6f784..c52667f6 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcError.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcError.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcErrorException.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcErrorException.java index a41cdfbd..90bec14a 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcErrorException.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcErrorException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; /** diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcException.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcException.java index 7e99adbd..7283c689 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcException.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import java.io.IOException; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcMessage.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcMessage.java index f893218a..4c59a2cf 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcMessage.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcMessage.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; /** diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcRequest.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcRequest.java index b0cef0fa..a63c0371 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcRequest.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcResponse.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcResponse.java index b7a4474b..a8ed3f53 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcResponse.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcService.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcService.java index da20b8c5..351760d5 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcService.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import java.util.concurrent.CompletableFuture; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcStatusException.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcStatusException.java index 398ed809..71ff5dcf 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcStatusException.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcStatusException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import org.jspecify.annotations.Nullable; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcTransport.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcTransport.java index e5467c41..f30e1d37 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcTransport.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/JsonRpcTransport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc; import javax.net.ssl.SSLContext; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/internal/NumberStringSerializer.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/internal/NumberStringSerializer.java index 628638c7..f7876fd1 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/internal/NumberStringSerializer.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/internal/NumberStringSerializer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.internal; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/AbstractJsonRpcService.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/AbstractJsonRpcService.java index 2820d7cb..8116bea0 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/AbstractJsonRpcService.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/AbstractJsonRpcService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection; import org.jspecify.annotations.Nullable; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcService.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcService.java index 9602c2e0..ee2ad1e1 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcService.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection; import java.lang.reflect.Method; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapper.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapper.java index a169f202..b750d275 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapper.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection; import com.fasterxml.jackson.databind.node.NullNode; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/sample/MathService.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/sample/MathService.java index f43c7a41..f4a15d8c 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/sample/MathService.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/introspection/sample/MathService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection.sample; import org.consensusj.jsonrpc.JsonRpcError; diff --git a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/services/EchoJsonRpcService.java b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/services/EchoJsonRpcService.java index 178936b7..9201c89a 100644 --- a/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/services/EchoJsonRpcService.java +++ b/consensusj-jsonrpc/src/main/java/org/consensusj/jsonrpc/services/EchoJsonRpcService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.services; import org.consensusj.jsonrpc.JsonRpcShutdownService; diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/DefaultRpcClientSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/DefaultRpcClientSpec.groovy index 0f97f7e9..5d5254de 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/DefaultRpcClientSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/DefaultRpcClientSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc import com.fasterxml.jackson.databind.ObjectMapper diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnectionSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnectionSpec.groovy index c7d75d18..6a38d2cb 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnectionSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcClientHttpUrlConnectionSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcErrorSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcErrorSpec.groovy index 04b52f9f..7006e297 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcErrorSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcErrorSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc import com.fasterxml.jackson.databind.ObjectMapper diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcRequestSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcRequestSpec.groovy index 49e615de..704bebc8 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcRequestSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcRequestSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc import com.fasterxml.jackson.databind.ObjectMapper diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcResponseSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcResponseSpec.groovy index 484b0ddf..9a338b07 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcResponseSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcResponseSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc import com.fasterxml.jackson.databind.JsonNode diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcTransportSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcTransportSpec.groovy index 33d5128f..a9c82d04 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcTransportSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/JsonRpcTransportSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc import spock.lang.Specification diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/internal/NumberStringSerializerSpec.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/internal/NumberStringSerializerSpec.groovy index df87c7ce..73c123e2 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/internal/NumberStringSerializerSpec.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/internal/NumberStringSerializerSpec.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.internal import com.fasterxml.jackson.core.Version diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcServiceTest.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcServiceTest.groovy index 65f27be5..6d6a94c6 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcServiceTest.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/DelegatingJsonRpcServiceTest.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection import org.consensusj.jsonrpc.JsonRpcRequest diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapperTest.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapperTest.groovy index cd281296..365ea45c 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapperTest.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/JsonRpcServiceWrapperTest.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection import spock.lang.Specification diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/TrivialJsonRpcService.java b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/TrivialJsonRpcService.java index e7a5449b..8a629c17 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/TrivialJsonRpcService.java +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/TrivialJsonRpcService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection; import java.util.concurrent.CompletableFuture; diff --git a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/sample/MathServiceTest.groovy b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/sample/MathServiceTest.groovy index 93c2b439..6234f702 100644 --- a/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/sample/MathServiceTest.groovy +++ b/consensusj-jsonrpc/src/test/groovy/org/consensusj/jsonrpc/introspection/sample/MathServiceTest.groovy @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.jsonrpc.introspection.sample import org.consensusj.jsonrpc.JsonRpcRequest diff --git a/consensusj-rx-jsonrpc/src/main/java/module-info.java b/consensusj-rx-jsonrpc/src/main/java/module-info.java index 145ec2d9..c42547bb 100644 --- a/consensusj-rx-jsonrpc/src/main/java/module-info.java +++ b/consensusj-rx-jsonrpc/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Java Module Declaration */ diff --git a/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/RxJsonRpcClient.java b/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/RxJsonRpcClient.java index 24837d36..03dff3cc 100644 --- a/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/RxJsonRpcClient.java +++ b/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/RxJsonRpcClient.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.rx.jsonrpc; import io.reactivex.rxjava3.core.Flowable; diff --git a/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/package-info.java b/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/package-info.java index 421963c6..131b63d2 100644 --- a/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/package-info.java +++ b/consensusj-rx-jsonrpc/src/main/java/org/consensusj/rx/jsonrpc/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Reactive enhancements for JSON-RPC clients using RxJava 3. */ diff --git a/consensusj-rx-zeromq/src/main/java/module-info.java b/consensusj-rx-zeromq/src/main/java/module-info.java index 72c30a71..18fb4f97 100644 --- a/consensusj-rx-zeromq/src/main/java/module-info.java +++ b/consensusj-rx-zeromq/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Java Module Declaration */ diff --git a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/RxZmqContext.java b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/RxZmqContext.java index 4eac0e46..a8f23bc4 100644 --- a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/RxZmqContext.java +++ b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/RxZmqContext.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.rx.zeromq; import io.reactivex.rxjava3.core.BackpressureStrategy; diff --git a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/ZMsgSocketFlowable.java b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/ZMsgSocketFlowable.java index 8d2c5d05..eb4d3515 100644 --- a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/ZMsgSocketFlowable.java +++ b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/ZMsgSocketFlowable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.consensusj.rx.zeromq; import io.reactivex.rxjava3.core.BackpressureStrategy; diff --git a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/package-info.java b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/package-info.java index f83fb3b2..8618f40a 100644 --- a/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/package-info.java +++ b/consensusj-rx-zeromq/src/main/java/org/consensusj/rx/zeromq/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014-2026 ConsensusJ Developers. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /** * Reactive interface to ZeroMQ using JeroMQ library. * Reactive streams are available via the {@link org.reactivestreams.Publisher} interface, but this will change to