libspiffy 5.5.0 copy "libspiffy: ^5.5.0" to clipboard
libspiffy: ^5.5.0 copied to clipboard

An actor-based Bitcoin SV SPV wallet library: event-sourced wallets, BEEF payments with merkle-proof validation, ARC broadcast, payment channels and pluggable token scripts.

50/ 160
pub points
1.8k
downloads

We analyzed this package in the last hour, and awarded it 50 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

3872 out of 9579 API elements (40.4 %) have documentation comments.

Some symbols that are missing documentation: coordinator.AcceptChannelCommand.AcceptChannelCommand.new, coordinator.AcceptChannelCommand.channelId, coordinator.AcceptChannelCommand.clientAddress, coordinator.AcceptChannelCommand.clientPeerId, coordinator.AcceptChannelCommand.clientPubKey.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 523 issues. Showing the first 2:

ERROR: Evaluation of this constant expression throws an exception.

lib/src/storage/libspiffy_schemas.g.dart:16:33

   ╷
16 │   const BlockHeaderEntitySchema = CollectionSchema(
   │ ┌─────────────────────────────────^
17 │ │   name: r'BlockHeaderEntity',
18 │ │   id: 6269092351188696736,
19 │ │   properties: {
20 │ │     r'bits': PropertySchema(
21 │ │       id: 0,
22 │ │       name: r'bits',
23 │ │       type: IsarType.long,
24 │ │     ),
25 │ │     r'hash': PropertySchema(
26 │ │       id: 1,
27 │ │       name: r'hash',
28 │ │       type: IsarType.string,
29 │ │     ),
30 │ │     r'height': PropertySchema(
31 │ │       id: 2,
32 │ │       name: r'height',
33 │ │       type: IsarType.long,
34 │ │     ),
35 │ │     r'isOrphaned': PropertySchema(
36 │ │       id: 3,
37 │ │       name: r'isOrphaned',
38 │ │       type: IsarType.bool,
39 │ │     ),
40 │ │     r'merkleRoot': PropertySchema(
   │ └───────────────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/libspiffy_schemas.g.dart

ERROR: Evaluation of this constant expression throws an exception.

lib/src/storage/libspiffy_schemas.g.dart:1828:33

     ╷
1828 │   const MerkleProofEntitySchema = CollectionSchema(
     │ ┌─────────────────────────────────^
1829 │ │   name: r'MerkleProofEntity',
1830 │ │   id: -8220347419910625714,
1831 │ │   properties: {
1832 │ │     r'blockHash': PropertySchema(
1833 │ │       id: 0,
1834 │ │       name: r'blockHash',
1835 │ │       type: IsarType.string,
1836 │ │     ),
1837 │ │     r'blockHeight': PropertySchema(
1838 │ │       id: 1,
1839 │ │       name: r'blockHeight',
1840 │ │       type: IsarType.long,
1841 │ │     ),
1842 │ │     r'createdAt': PropertySchema(
1843 │ │       id: 2,
1844 │ │       name: r'createdAt',
1845 │ │       type: IsarType.dateTime,
1846 │ │     ),
1847 │ │     r'merkleProofJson': PropertySchema(
1848 │ │       id: 3,
1849 │ │       name: r'merkleProofJson',
1850 │ │       type: IsarType.string,
     │ └────^
     ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/libspiffy_schemas.g.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
buffer ^1.1.1 1.2.3 1.2.3
cbor ^6.0.0 6.5.1 6.5.1
collection ^1.17.1 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.7 3.0.7
cryptography ^2.7.0 2.9.0 2.9.0
dactor ^1.3.0 1.3.0 1.3.0
dartsv ^3.0.0 3.1.2 3.1.2
duraq ^3.0.0 3.0.0 3.0.0
duraq_isar ^3.0.0 3.0.0 3.0.0
eventador ^4.1.0 4.1.0 4.1.0
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.0 1.6.0 1.6.0
isar_community ^3.3.2 3.4.1 3.4.1
logging ^1.2.0 1.3.0 1.3.0
meta ^1.16.0 1.19.0 1.19.0
pointycastle ^3.0.0 3.9.1 4.0.0
postgres ^3.4.4 3.5.20 3.5.20
spiffynode ^1.1.0 1.1.0 1.1.0
synchronized ^3.1.0 3.5.0 3.5.0
uuid ^4.5.1 4.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
charcode - 1.4.0 1.4.0
code_assets - 2.1.0 2.1.0
decimal - 2.3.3 3.2.6
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.2.0 2.2.0
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
native_toolchain_c - 0.19.5 0.19.5
path - 1.9.1 1.9.1
platform - 3.2.0 3.2.0
pool - 1.5.3 1.5.3
process - 5.0.6 5.0.6
pub_semver - 2.2.1 2.2.1
rational - 2.2.3 2.2.3
record_use - 1.1.1 1.1.1
resource_portable - 3.1.4 3.1.4
source_span - 1.10.2 1.10.2
sprintf - 7.0.0 7.0.0
sqlite3 - 3.7.1 3.7.1
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.3
web - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.0` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/src/storage/postgres/postgres_migrations.dart:154:32 - The named parameter 'force' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
50
points
1.8k
downloads

Documentation

API reference

Publisher

verified publishertwostack.org

Weekly Downloads

An actor-based Bitcoin SV SPV wallet library: event-sourced wallets, BEEF payments with merkle-proof validation, ARC broadcast, payment channels and pluggable token scripts.

Repository (GitHub)
View/report issues

Topics

#bitcoin #wallet #spv #event-sourcing #actors

License

MIT (license)

Dependencies

buffer, cbor, collection, convert, crypto, cryptography, dactor, dartsv, duraq, duraq_isar, eventador, hex, http, isar_community, logging, meta, pointycastle, postgres, spiffynode, synchronized, uuid

More

Packages that depend on libspiffy