Skip to content

discuss: balance output #14

@coolaj86

Description

@coolaj86

Re: #9 (comment)

  1. Was a bit surprised to see more than exactly 1 DASH staked. Not a big deal for me, but might be for others?

You were asked to deposit Đ1.03 to account for Signup and ToS deposits. The deposits minus fees also count towards your stake.

Received 100300000

Key:       Đ  1.00300000

Accepting terms...
    ✅ AcceptTerms

reserving 50000 (Đ0.00050000) for withdrawals (--no-reserve to disable)

Initiating deposit of 100052926 (Đ1.00052926)...

Without knowing in advance how many utxos you'll be sending, the transfer fee, or other specifics that will be usually but not always the same, it's not reasonable to get it to deposit Đ1.00000000 perfectly.

DASH

  1. Is the terminal output supposed to be in markdown format?

Yes. dashhive/crowdnode.js#28

Not only that, but stdout is used for the kinds of text that a person would want to grep and stderr is used for the kinds of text that someone would most likely want to ignore when piping between programs.

One of the great philosophies of Unix is that you should be able to use the output of one program as the input to another program - "piping".

The idea is that if someone were writing a simple bash script using crowdnode-cli, it should behave nicely for them with grep, sed, awk, (and the modern rg, sd, bat) etc and they should be able to duck-tape together something interesting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions