mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-07-12 13:22:20 +02:00
processed events, added delay, after sending kind 1 post
and improved option 6 -> 9 print info
This commit is contained in:
@ -374,8 +374,13 @@ void printMenu(List<String> menuOptions) {
|
|||||||
void printVerifiedAccounts(Store node) {
|
void printVerifiedAccounts(Store node) {
|
||||||
|
|
||||||
List<dynamic> listVerified = []; // num follows, pubkey, name, nip05id
|
List<dynamic> listVerified = []; // num follows, pubkey, name, nip05id
|
||||||
print("A list of all NIP05 verified accounts is as follows: ");
|
|
||||||
print("Username Num Followers pubkey Nip Id");
|
printUnderlined("NIP 05 Verifid Users");
|
||||||
|
print("") ;
|
||||||
|
//print("A list of all NIP05 verified accounts is as follows: \n");
|
||||||
|
print("Username Num Followers pubkey Nip Id\n");
|
||||||
|
|
||||||
|
|
||||||
gKindONames.forEach((key, value) {
|
gKindONames.forEach((key, value) {
|
||||||
String pubkey = key;
|
String pubkey = key;
|
||||||
if( value.nip05Verified) {
|
if( value.nip05Verified) {
|
||||||
@ -387,13 +392,10 @@ void printVerifiedAccounts(Store node) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
listVerified.sort((a, b) => a[0] > b[0]? -1: (a[0] == b[0]? 0: 1));
|
listVerified.sort((a, b) => a[0] > b[0]? -1: (a[0] == b[0]? 0: 1));
|
||||||
|
|
||||||
for(var verifiedEntry in listVerified) {
|
for(var verifiedEntry in listVerified) {
|
||||||
print("${verifiedEntry[2].padRight(20)} ${verifiedEntry[0]} ${verifiedEntry[1]} ${verifiedEntry[3]}");
|
print("${verifiedEntry[2].padRight(30)} ${verifiedEntry[0].toString().padRight(4)} ${verifiedEntry[1]} ${verifiedEntry[3]}");
|
||||||
}
|
|
||||||
|
|
||||||
for( var uni in gKindONames.values) {
|
|
||||||
}
|
}
|
||||||
|
print("\nHow to use: To get best results, print the main feed a couple of times right after starting; and then check NIP verified list. This gives application time to do the verification from user's given servers.\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearScreen() {
|
void clearScreen() {
|
||||||
@ -1330,6 +1332,7 @@ Future<void> mainMenuUi(Store node) async {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await sendReplyPostLike(node, replyToId, replyKind, content);
|
await sendReplyPostLike(node, replyToId, replyKind, content);
|
||||||
|
await processAnyIncomingEvents(node, false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
|
@ -310,7 +310,10 @@ $gUsage
|
|||||||
KNOWN ISSUES
|
KNOWN ISSUES
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* Does not work on Tor network
|
* On windows terminal, special characters such as accent ( as used in many languages) can't be sent. Emojis can't be sent either. But they can be sent from Linux/Mac.
|
||||||
|
* On Windows terminal, there is limitation where only 255 characters can be sent at a time.
|
||||||
|
|
||||||
|
See and file bugs here: https://github.com/vishalxl/nostr_console/issues
|
||||||
|
|
||||||
ABOUT
|
ABOUT
|
||||||
-----
|
-----
|
||||||
|
Reference in New Issue
Block a user