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

,tx.json is distracting #40

Open
dckc opened this issue May 14, 2024 · 3 comments
Open

,tx.json is distracting #40

dckc opened this issue May 14, 2024 · 3 comments
Assignees

Comments

@dckc
Copy link
Member

dckc commented May 14, 2024

people have asked where it comes from. It was supposed to be a temp file... it should at least be in .gitignore.

Maybe there's an easy way to get rid of it?

cc @Jovonni

@Jovonni
Copy link

Jovonni commented May 15, 2024

noticed this too. I assume its a tmp file for when we broadcast a TX somewhere @dckc ?

@dckc
Copy link
Member Author

dckc commented May 15, 2024

right...

FUNDS=321$(BLD)
fund-acct:
agd tx bank send validator $(ACCT_ADDR) $(FUNDS) \
$(SIGN_BROADCAST_OPTS) \
-o json >,tx.json
jq '{code: .code, height: .height}' ,tx.json

@dckc
Copy link
Member Author

dckc commented Aug 16, 2024

historical context: the leading , is a convention for temp files that I picked up from the MH Message Handling System, mail system:

The rmm command removes one or more messages. ... By default, rmm adds a comma (,) or a hash mark (#) to the start of a message filename. The extra character hides the message from other MH commands and flags the message for a system program to remove later.
-- Removing and Recovering Messages: MH & nmh: Email for Users & Programmers

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

No branches or pull requests

3 participants