lyra-block-lattice / lyra-core Goto Github PK
View Code? Open in Web Editor NEWDaemon node for Lyra consensus network.
Home Page: https://docs.lyra.live
License: MIT License
Daemon node for Lyra consensus network.
Home Page: https://docs.lyra.live
License: MIT License
As the title
Describe the bug
A clear and concise description of what the bug is.
Can't transfer funds from 1 wallet address using Nebula or the QT
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I expect the coin transfer to another address to happen
Screenshots
If applicable, add screenshots to help explain your problem.
wallet address - L5ZjawG4SpoZ1vMNUMSL57FwzASqi4uh1zsi6sGguohoxeg4FimPNrS4Q1pY8UvuyXf24QzQSrpNVBGUDNjn5Byd88ZqFt
Balances: LYR:823947600000000
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
Currently all nodes are means to be public. but in practical we need many nodes not be public oriented.
Describe the solution you'd like
A app only node is good.
Describe alternatives you've considered
A node service privately is OK for now but some times creates confusing.
Additional context
Like in Exchange. they don't want their nodes to be public.
collateral amount (by LYR) need to be verified against the current price of coin/token.
An advice for API's that has non editable lists ( that only the item count increase ) like profiting accounts list, to create an API to get only the count and/or a hash ( like Balance API ), this will decrease client node interaction, clients can have a local copy of the lists, and request only the items count that database doesn't require to count the items, already know internally all the counts of items in lists, or lists count actualized at every add item. That can cut client node interaction with a lot.
because displaying a DNS is cool than displaying IP.
Iulian Gheorghiu, [20.02.21 20:00]
If there in communication something happen and remain in enter password or any state that idle, if I kill it, the process remain up and eating 33% of the CPU
And the single option you have is SIGKILL from task manager
We need a summary for total among that node/yield hold, staking among too. And also real circulation among.
Base on this information price can be grow up bcs of lack of sell among will force buyer to buy at higher value
After syncfee, node result online but without votes.
ubuntu 18.0.4
62.171.170.160
via cli no way to see the unstake date in UTC. I relied on nebula page (https://nebula.lyra.live/profit/LWwZfd1nwH7srS693TJLhVmwgfB9TvWJdSQ7A3X5nZunBsUu35U2FcPJHsjynEsTNHGUNLFFdaJkH9NzbAPntHzSpfFCQe)
For my particular account it disappeared off this page so assumed the stake period had finished. When i came to unstake it was hit with an unexpected 0.8% fee
Either bug on nebula page or date calc is wrong.
============================
Also check where the fee goes it. I was trying to work out if the node got the fee but it appeared not to. This was the node owner of the profiting account i staked to above:-
https://nebula.lyra.live/showblock/LUYMnp9uBpe9hDkW5Z6715Lpku24jtdzYgoLrFUnXanANZbtoVmYCYyXRuBLWTwEg7xpYWJJrthMVcYpfpVE5dBxWa2rHr
Try to create dividends for the old nodes that has only fees to distribute @ 11 LYR and give me "RequestNotPermited":
"RPC 9: {\"id\":50,\"jsonrpc\":\"2.0\",\"method\":\"CreateDividends\",\"params\":[\"LCjM28ov1MciT8cd5TmSAiMgiLhSgXhYPUB6mWuqK3ZD8S5axLCtyihxkh5YZFpgbWML7WrC1d7sLLtaCbmT7YqX24ipZo\",\"LGsdNoJyoQDwDk8T2N6ghGukcqpQpET6nsEt5FkYxzWpoaPc4PB8jDGD8DDMHjQHSsc17EQ9jxBpbisRdr4WhEUkrzLKFL\"]}"
"RPC 10: {\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"Sign\",\"params\":[\"hash\",\"DjsMzXzPypvjorSzaCVREcPwM2UPvh3tLPz6TU3Ar7Mi\",\"LCjM28ov1MciT8cd5TmSAiMgiLhSgXhYPUB6mWuqK3ZD8S5axLCtyihxkh5YZFpgbWML7WrC1d7sLLtaCbmT7YqX24ipZo\"]}"
SIGN 1: "Sign"
"RPC 12: {\"id\":3,\"jsonrpc\":\"2.0\",\"result\":[\"p1393\",\"28qaVakfTguWTFZQesGhDm39gGatSy6dAxJAcXcedUj8rY1sc74TQ9tjHXNox2KkwnQxAGej6RXvmfaygthFKp2D\"]}"
"RPC 13: {\"jsonrpc\":\"2.0\",\"id\":50,\"result\":{\"success\":false,\"message\":\"RequestNotPermited\"}}"
On testnet i did a test of unstaking during the stake period. I was correctly charged 0.8% fee (16000)
https://nebulatestnet.lyra.live/showblock/LEodNAzdRTTrVzVmRxmFZTq2muU3fqV9mdXgNcMusSt8Ms34TRQDkaX5kwLskZ9JEdSxJtNPEr7AsfapusqFDKVgE7mMk1
But surely that fee should have been paid to the node owner as compensation for breaking contract. It appears not. That 16000 fee seems to have disappeared. Node owner address:-
https://nebulatestnet.lyra.live/showblock/LYSRCV7J6QKEZdYVJSxbJCGhW45Yf3DLL8CZssQZuPxJKxibxKTbvtS3mec4qkDYkDrVXLfQxp9tzmPqXEhUm9nxyxxoaE
Node profiting address:-
https://nebulatestnet.lyra.live/showblock/LW6FcY4uPqSqWnhvDJyTtmo31hxaaNhMb2baEcXdcaLnEyHyAMxtuxp2QLRGpFSVRtbNDscYem9jsJEFYT2wJ552uix1Eg
So bug is if user unstakes during stake period fee is charged to the users wallet but that fee is lost in the network and not paid to anyone- it should have gone to the node owner
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Start staking.
Instead I get an error message. The logs are attached below
Screenshots
Error: System.Threading.Tasks.TaskCanceledException: net_http_request_timedout, 15 ---> System.TimeoutException: OperationCanceled ---> System.Threading.Tasks.TaskCanceledException: OperationCanceled ---> System.Runtime.InteropServices.JavaScript.JSException: AbortError: The user aborted a request. at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage , CancellationToken ) Exception_EndOfInnerExceptionStack at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage , CancellationToken ) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , Boolean , CancellationTokenSource , CancellationToken ) Exception_EndOfInnerExceptionStack Exception_EndOfInnerExceptionStack at System.Net.Http.HttpClient.HandleFailure(Exception , Boolean , HttpResponseMessage , CancellationTokenSource , CancellationToken , CancellationTokenSource ) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , Boolean , CancellationTokenSource , CancellationToken ) at Lyra.Core.API.LyraRestClient.d__19`1[[Lyra.Core.API.AuthorizationAPIResult, Lyra.Data, Version=3.1.1.3, Culture=neutral, PublicKeyToken=null]].MoveNext() at Lyra.Core.API.LyraRestClient.PostBlockAsync(String action, Block block) at Lyra.Core.API.LyraRestClient.SendTransferAsync(SendTransferBlock block) at Lyra.Core.Accounts.Wallet.SendExAsync(String DestinationAccountId, Dictionary`2 Amounts, Dictionary`2 tags) at Lyra.Core.Accounts.Wallet.CreateStakingAccountAsync(String Name, String voteFor, Int32 daysToStake, Boolean compoundMode) at UserLibrary.Components.Staking.StakingCreate()
Desktop (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.