Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bls improvements and other fixes #251

Merged
merged 20 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3254a4b
fix: add verified flag to FinalCommitment and Quorum
HashEngineering Jan 12, 2024
12e7b2a
tests: fix broken qrinfo test and check for successful quorum verific…
HashEngineering Jan 12, 2024
b2e4f7b
refactor: make Quorum member fields private and use getters
HashEngineering Jan 12, 2024
f49f4fc
feat: add example that downloads an mnlistdiff
HashEngineering Jan 12, 2024
92e198a
fix: add more details on Block and Transaction versions toString
HashEngineering Jan 12, 2024
8ba2c03
docs: update information on supported DIPS
HashEngineering Jan 12, 2024
03407a7
fix: use Lazy BLS objects in FinalCommitment
HashEngineering Jan 12, 2024
0571b32
chore: update gradle to 7.1
HashEngineering May 3, 2024
323526d
chore: remove tools/pom.xml
HashEngineering May 3, 2024
e99eca6
chore: update protobuf plugin to 0.9.4
HashEngineering May 3, 2024
e5e2ff6
chore: add spotbugs
HashEngineering May 3, 2024
4946a81
chore: update dependencies (bouncycastle, json)
HashEngineering May 3, 2024
83a76ab
tests: ignore LevelDB related tests
HashEngineering May 3, 2024
8ded155
fix: add final to some constant fields
HashEngineering May 3, 2024
b555ede
chore: remove spotbugs from core builds
HashEngineering May 3, 2024
294f28e
chore: restore payment channel examples
HashEngineering May 4, 2024
c1e3fad
fix: add time out to send future
HashEngineering May 4, 2024
bd7390d
fix: replace retry mechanism for requesting mnlists
HashEngineering May 6, 2024
4c56b72
fix: propagate context in sendRequestWithRetry
HashEngineering May 21, 2024
dfd14da
tests: use Locale.US for ProviderRegisterTx sign string
HashEngineering May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
buildscript {
repositories {
mavenCentral()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}

dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
classpath("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.13")
}
}

Expand Down
24 changes: 19 additions & 5 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'jacoco'
apply plugin: 'signing'
// apply plugin: 'com.github.spotbugs'

version = '20.0.5-SNAPSHOT'
archivesBaseName = 'dashj-core'
eclipse.project.name = 'dashj-core'

dependencies {
compile 'org.bouncycastle:bcprov-jdk15to18:1.68'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.74'
implementation 'com.google.guava:guava:30.0-jre'
compile 'com.google.protobuf:protobuf-javalite:3.17.3'
implementation 'com.google.protobuf:protobuf-javalite:3.17.3'
implementation 'com.squareup.okhttp3:okhttp:3.12.8'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'net.jcip:jcip-annotations:1.0'
Expand All @@ -29,7 +30,7 @@ dependencies {
implementation 'de.sfuhrm:saphir-hash-core:3.0.10'
implementation 'org.dashj:dashj-bls:1.0.0'
implementation 'com.lambdaworks:scrypt:1.4.0'
implementation 'org.json:json:20220320'
implementation 'org.json:json:20231013'

}

Expand All @@ -51,14 +52,15 @@ protobuf {
}
}
}
generatedFilesBaseDir = new File(projectDir, '/src') // workaround for '$projectDir/src'
}

test {
exclude 'org/bitcoinj/core/PeerTest*'
exclude 'org/bitcoinj/core/TransactionBroadcastTest*'
exclude 'org/bitcoinj/net/NetworkAbstractionTests*'
exclude 'org/bitcoinj/protocols/channels/ChannelConnectionTest*'
exclude 'org/bitcoinj/core/LevelDBFullPrunedBlockChainTest*'
exclude 'org/bitcoinj/store/LevelDBBlockStoreTest*'
testLogging {
events "failed"
exceptionFormat "full"
Expand Down Expand Up @@ -152,4 +154,16 @@ jacocoTestReport {
xml.enabled true
xml.destination file("${project.projectDir}/build/reports/jacoco/jacoco.xml")
}
}
}

//tasks.spotbugsMain {
// reports.create("html") {
// required = true
// outputLocation = file("$buildDir/reports/spotbugs.html")
// setStylesheet("fancy-hist.xsl")
// }
// reports.create("xml") {
// required = true
// outputLocation = file("$buildDir/reports/spotbugs.xml")
// }
//}
Loading
Loading