Giter Club home page Giter Club logo

gonano's People

Contributors

bruno-kakele avatar hectorchu avatar richiedunk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gonano's Issues

Fails to Receive

Windows 10 and Linux.
I used the program to successfully create an account in Windows 10 and then I sent it a small amount via https://nano-faucet.org/
I could not get transaction to be received using the wallet. I assumed it might be another Windows 10 issue so I built the program in ubuntu, created another wallet and tried again.

./main add -w0 Enter password: Added account nano_1tjj6r5f5azmjjduwh7hrxsqcq19moox1939dhczbh58h4fejpasat8qx6ab

the command
./main receive -w0
did not work (still shows as pending in https://nanocrawler.cc/explorer/ )

the command
./main receive -a nano_1tjj6r5f5azmjjduwh7hrxsqcq19moox1939dhczbh58h4fejpasat8qx6ab
also did not work.

Used your plugin for Woocommerce (Gonano payment gateway), having serious issues

Used your Gonano plugin for WooCommerce, having big issues. One client send a transaction to the intermediate wallet address which didn't send it to the recepient wallet address (nano_3ajaewy49s1wz8jjbygbzf9wcoa8bskcc3b7b6xz68odt3qia6mu7cytfbkp):

https://nanocrawler.cc/explorer/block/D21448519EC189AA7F32E5FE31F17FAEDD621365498A04A3DA831BE844CA9004

https://nanocrawler.cc/explorer/account/nano_1gpshygkby1a4cw4q981m6z7cj84hqy6enj6akcn8d6cf86mtu5kmaw4xxj5/history

What are we doing now?

A version string could prove useful

It could prove useful for the casual user as well as for the bug reporter to be able to see which version of gonano is actually installed, e.g.:

$ gonano --version
gonano/0.1.16 (2021-06-04)

The casual user will be able to asses if a newer version is available, and the bug reporter can include the version string in their issue.

If you choose to implement this, please allow both a long (--version) and a short (-v) option.

Should you choose to include the release date, please use the ISO-8601 format.

Cheers.

Default RPC endpoint (`mynano.ninja`) seems to be offline permanently

The default RPC endpoint, https://mynano.ninja/api/node has been offline for quite a while, and the hostname doesn't even have an associated IPv4 or IPv6 address anymore.

While this can, of course, be overcome by using the -r/--rpc flag, it may be a hurdle for newcomers and it would be prudent to change the default node to something that works, e.g.:

    https://rainstorm.city/api

See also #15.

🙏

install error

Build

Windows 10
I get the same error if I go build ./main.go (which then creates, main.exe)

PS C:\Users\circusdad\go-code\src\gonano> go install       
# github.com/karalabe/hid
In file included from ..\..\..\go\pkg\mod\github.com\karalabe\[email protected]\hid_enabled.go:40:
..\..\..\go\pkg\mod\github.com\karalabe\[email protected]/hidapi/windows/hid.c: In function 'hid_enumerate':
..\..\..\go\pkg\mod\github.com\karalabe\[email protected]/hidapi/windows/hid.c:431:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  431 |     strncpy(cur_dev->path, str, len+1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\..\go\pkg\mod\github.com\karalabe\[email protected]/hidapi/windows/hid.c:429:11: note: length computed here
  429 |     len = strlen(str);
      |           ^~~~~~~~~~~

Usage

It does build an executable but then does not seem to work. For instance,

PS C:\Users\circusdad\go-code\src\gonano> gonano add
Enter seed or bip39 mnemonic (leave blank for random): 
The handle is invalid.
PS C:\Users\circusdad\go-code\src\gonano> .\main.exe add
Enter seed or bip39 mnemonic (leave blank for random): 
The handle is invalid.

Serialize / save wallet ?

Hi.

does this support serializing or persisting the wallets in a db ?

I could not figure that out by checking the code but maybe I overlooked it.

thanks.

cannot install gonano with go get command

this is my output:

arthopacini@arthopacini:~$ go get github.com/hectorchu/gonano
# github.com/hectorchu/gonano/ledger
go/src/github.com/hectorchu/gonano/ledger/message.go:56:41: block.Balance.FillBytes undefined (type *rpc.RawAmount has no field or method FillBytes)
# github.com/robvanmieghem/go-opencl/cl
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
arthopacini@arthopacini:~$ 

gonano receive fails: “json: cannot unmarshal string […]”

gonano has stopped being able to “receive”:

$ gonano list
0: 1 account
1: 1 account
2: 1 account
3: 1 account
4: 1 account
$ gonano receive -w0
json: cannot unmarshal string into Go struct field .Blocks of type map[string]rpc.HashToPendingMap
[1] $

I have a daily cronjob running to “receive” any payments to all of the accounts above. On 2022-01-25 gonano started failing with the error seen above.

  • gonano v0.1.16 (+ latest commit ef81ace)
  • go version go1.17.6 linux/amd64 (and an earlier version for gonano v0.1.16)
  • x86_64 GNU/Linux (ArchLinux)

The accounts have the “Finland Green 💚” representative. The GUI wallet Nault says the representative is ok.

Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.