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

CreateTransaction(sender: "0", recipient: NodeId, amount: 1); in C# Implementation #210

Open
ganeshnic opened this issue Oct 1, 2021 · 0 comments

Comments

@ganeshnic
Copy link

Dear Sir,
In C# project for Blockchain...

In CreateTransaction(sender: "0", recipient: NodeId, amount: 1);

  1. why the sender is "0" ??
    Also after running http://localhost:12345/transactions/new{ "Amount":123, "Recipient":"ebeabf5cc1d54abdbca5a8fe9493b479", "Sender":"31de2e0ef1cb4937830fcfd5d2b3b24f" } nothing happens also after http://localhost:12345/mine amount in transaction is not seen in the browser The following lines
  2. are seen and amount is always "1" why ???
    Also Transactions vanish after you restart the machine or project...
  3. How to maintain the transactions continuously???

{"chain":[{"Index":0,"Timestamp":"2021-09-30T10:52:20.0890196Z","Transactions":[],"Proof":100,"PreviousHash":"1"},{"Index":1,"Timestamp":"2021-09-30T10:55:07.1326461Z","Transactions":[{"Amount":1,"Recipient":"b43a22a573e6430499975c6c67b7894e","Sender":"0"}],"Proof":14342,"PreviousHash":"9ad382b9de9fd575600e33c993228eb894dbb246725eb224a22c5936b7b26e8a"},{"Index":2,"Timestamp":"2021-09-30T10:57:59.0589783Z","Transactions":[{"Amount":1,"Recipient":"b43a22a573e6430499975c6c67b7894e","Sender":"0"}],"Proof":95333,"PreviousHash":"14393b81cd59fd96ce79538640c606bb3eb0a9ac87615b0a20cf483812ac41d9"},{"Index":3,"Timestamp":"2021-09-30T12:20:12.0325329Z","Transactions":[{"Amount":1,"Recipient":"b43a22a573e6430499975c6c67b7894e","Sender":"0"}],"Proof":32512,"PreviousHash":"3d6a5af0f8d75eb1d99f151a0926e7af61e3ff8c49245f6e3a6c5748209340e9"},{"Index":4,"Timestamp":"2021-09-30T12:20:27.2176191Z","Transactions":[{"Amount":1,"Recipient":"b43a22a573e6430499975c6c67b7894e","Sender":"0"}],"Proof":101085,"PreviousHash":"1930e04fd3a53824babadf9267aa8bbccf45ff2b64a61b68aed6540b8ea08150"}],"length":5}

with regards
Ganesh

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

1 participant