Skip to content

refactor: consolidate to single BitcoinKernel package with clean namespace layout#11

Merged
janb84 merged 8 commits intomainfrom
update_class_protection
Mar 3, 2026
Merged

refactor: consolidate to single BitcoinKernel package with clean namespace layout#11
janb84 merged 8 commits intomainfrom
update_class_protection

Conversation

@janb84
Copy link
Owner

@janb84 janb84 commented Mar 3, 2026

Remove facade: deleted BitcoinKernel fluent builder (KernelLibrary) and its integration tests; consumers now use the managed API directly
Rename BitcoinKernel.Core to BitcoinKernel: single package, consistent with the NuGet id
Namespace clean-up: BitcoinKernel.Abstractions to BitcoinKernel.Primatives; Chain class moved into BitcoinKernel.Chain; LoggingConnection placed in BitcoinKernel
Version bump: 0.1.2 to 0.2.0

janb84 added 8 commits March 2, 2026 13:03
…nternal visibility

Make NativeMethods, all delegate types, and all P/Invoke structs internal
in BitcoinKernel.Interop so they are not part of the public API surface.

Public enums (ChainType, ScriptVerifyStatus, ScriptVerificationFlags, etc.)
remain public as they appear in the Core public API.
- Delete src/BitcoinKernel/ (KernelLibrary fluent builder) and its tests
- Rename BitcoinKernel.Core project/namespaces to BitcoinKernel
- Rewrite examples to use the managed API directly
Eliminates the latent name collision between the Chain class
(previously in BitcoinKernel.Abstractions) and the BitcoinKernel.Chain
namespace. Users can now access Chain via a single import.
@janb84 janb84 merged commit cb1aa33 into main Mar 3, 2026
7 checks passed
@janb84 janb84 deleted the update_class_protection branch March 3, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant