Commit Graph

28 Commits

Author SHA1 Message Date
William Casarin
74ba45adbc add --tagn 3 a b c
Flexible way to add tag with N elements:

eg:

empty tag:
  --tagn 0

protected event:
  --tagn 1 -

Signed-off-by: William Casarin <jb55@jb55.com>
2024-09-22 09:53:26 +09:00
William Casarin
6e1bfcca7e bump tag limits
Signed-off-by: William Casarin <jb55@jb55.com>
2024-09-22 09:53:26 +09:00
William Casarin
00dbf3cc83 Release 0.1.3
Just remove scdoc install requirement
2022-11-18 16:26:53 -08:00
William Casarin
0aaf9eb263 nostril-query: add kinds 2022-11-17 18:12:56 -08:00
William Casarin
f71247279d execute subcommands
We will use this for nostril-query
2022-11-17 17:20:58 -08:00
William Casarin
a5e2478cfc Release v0.1.0 2022-11-17 13:21:07 -08:00
William Casarin
1904c78efa add -t hashtag helper 2022-11-16 21:11:33 -08:00
William Casarin
a3f69222bc add mine-pubkey to docs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-20 11:34:17 -07:00
William Casarin
13985950fd count mined pubkey bits
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-30 08:24:38 -07:00
William Casarin
1411b0a692 space it out a bit
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-30 08:22:41 -07:00
William Casarin
5dd60cfb26 use xor mixing in pubkey mining
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-30 08:10:40 -07:00
William Casarin
250a5edbb3 pubkey mining stats
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-30 08:10:40 -07:00
William Casarin
e8bba43f3e add --mine-pubkey
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-28 14:34:58 -07:00
William Casarin
54fd3e0fe3 make content optional, defaults to ""
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 08:05:57 -07:00
William Casarin
a53062b84a nip13: commit to difficulty
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-08 15:49:07 -07:00
William Casarin
e8fd862590 embed libsecp256k1 build
don't rely on external deps

Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-08 15:46:36 -07:00
William Casarin
098f639f46 dm: allow kind override for encrypted content in other kinds
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-28 09:29:33 -07:00
William Casarin
8898a0fe91 fix kind parser
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-21 06:01:52 -07:00
William Casarin
60a4613cc1 explicit --content. -e and -p shorthands.
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-20 16:23:49 -07:00
William Casarin
8be26ee485 support adding tags
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-20 10:37:12 -07:00
William Casarin
3e177964c7 simple explicit tags option
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-17 18:32:00 -07:00
William Casarin
29be8497fc add proof-of-work mining
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-15 10:30:52 -07:00
William Casarin
c5a3be3b74 usage
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 19:44:02 -07:00
William Casarin
6719988d8d encrypted dms
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 19:30:27 -07:00
William Casarin
435380f327 fix has_kind
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 08:44:13 -07:00
William Casarin
68ff7a6282 cflags
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 08:17:10 -07:00
William Casarin
da05ae32a5 remove debug log
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 08:00:34 -07:00
William Casarin
009af9ed5b initial commit
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-14 07:52:29 -07:00