Comments (8)
Actually Amount
is very needed and I was thinking of doing it myself. I will use it from ln-types
right away and re-export in lnp-core
as millistat amount.
BTW rust-bitcoin
Amount
is so terrible that I was thinking about doing Sats
type in descriptor-wallet
to use it here as well.
from lnp-node.
Done, looks like everything went well.
from lnp-node.
Oh, where have you been a year ago when I had to do LNP Core lib (https://github.com/LNP-BP/lnp-core) and inet2_addr
with all of those primitives...
... but from what I see not your types are pretty much different from mines and still many places. I will try to integrate/use them in inet2_addr
.
As for moving the repo, I will be happy to have it here. In rust-bitcoin
the requirement is MSRV 1.29 and having multiple contributors (one of the reasons I was not able tot bring https://github.com/LNP-BP/descriptor-wallet there, which also have multiple utility types on top of rust-bitcoin)
from lnp-node.
Yeah wanted to do this for a while but couldn't find the time. Happy to see that being later is still more helpful than not doing it.
In
rust-bitcoin
the requirement is MSRV 1.29
I mean the organization, not library. It doesn't even fit architecturally into the library. For instance rust-lightning
library has higher MSRV and is in rust-bitcoin organization.
BTW
rust-bitcoin
Amount
is so terrible
Which aspects do you find terrible? For me it's mostly overflow being unchecked and it not being used in TxOut
(there's a PR to fix that). Other things seem OK to me.
from lnp-node.
I mean the organization, not library.
I also meant organization :D It has the same name as the library - and same rules
For instance rust-lightning library has higher MSRV and is in rust-bitcoin organization.
It is not there anymore and was there due to historical reasons. I was told by org requirements for adding repos by A.Poelstra several months ago, so ...
Which aspects do you find terrible? F
- Overflow
- Display
- FromStr
from lnp-node.
Ah, now I see! Will look into migrating later, I'm too tired now.
I feel that displaying it directly with denomination is a good way to avoid footguns and my PR fixes the inability to be precise. Do you have other ideas what could be improved? Per Rust convention FromStr
should be capable of parsing whatever came out of Display
.
from lnp-node.
I tried to transfer ownership but got this error: "You don’t have the permission to create public repositories on LNP-BP"
from lnp-node.
Sorry for taking so long: GiHub permission structure constantly change and hard to understand. I have allowed repository creation, so pls try now.
from lnp-node.
Related Issues (20)
- hostname resolution at peer connection HOT 6
- `lnp-cli create` hangs after channel creation HOT 2
- a call to `connect` hangs and peerd logs "invalid nodeid" HOT 10
- channel data inconsistency between peers HOT 5
- asset identifier confusion HOT 1
- node receiving a connection does not know initiator's nodeid
- Update configure_me to 0.4
- Failed to build demo Docker image HOT 1
- No matching package named `lnp-core` found when building docker image HOT 4
- Cargo test command failing HOT 2
- Use configure_me for storing persistent configuration options
- Tracking: full LN interoperability
- Tracking: node operations
- lnp-node address not have regtest prefix 'bcrt' HOT 2
- Connection handshake failure for TCP connections HOT 4
- Panic starting node 'Unable to open key file' HOT 2
- Use AddressCompat instead of rust-bitcoin Address to display address
- Bolt Review + Universal Invoice + Bifrost HOT 1
- private or changing IP address considerations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnp-node.