user59776: :) I'm starting development on a PHP project that involves creating a Bitcoin server, creating and managing wallets, etc.
I've created a selfish-node (550 MiB of the blockchain) on Ubuntu 14 with bitcoind and bitcoin-cli and it is live according to https://bitnodes.21.co/ => response: (162.243.145.144:8333 /Satoshi:0.14.2/)
My bitcoin.conf is as follows
prune=550
maxconnections=10
maxuploadtarget=10
rpcuser=fakeusername
rpcpassword=fakepassword
daemon=1
keypool=10000

and bitcoin-cli getinfo outputs
root@b:~/.bitcoin# bitcoin-cli getinfo
{
  "version": 140200,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 367670,
  "timeoffset": -1,
  "connections": 8,
  "proxy": "",
  "difficulty": 52278304845.59168,
  "testnet": false,
  "keypoololdest": 1505160918,
  "keypoolsize": 10000,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}

I've created a wallet via bitcoin-cli on this node: 17Jn1VYpwknwjuVxLMYvqc8iHJ6QsP8xDo and have sent this address 0.00000547 bitcoin as a test from an Electrum wallet of mine.
The tx: ee65b8201e0e26827430b34872f6dd961f318e0c1e4c5266a6bcf8a8fa22a2ce
According to the blockchain, it has over 10 confirmations at this point (it is confirmed). 
But when I execute commands to verify this from within my server, it does not show any such transaction and it does not show that I have received any funds. 
root@b:~/.bitcoin# bitcoin-cli getreceivedbyaddress 17Jn1VYpwknwjuVxLMYvqc8iHJ6QsP8xDo
Outputs
0.00000000
and
root@b:~/.bitcoin# bitcoin-cli gettransaction ee65b8201e0e26827430b34872f6dd961f318e0c1e4c5266a6bcf8a8fa22a2ce
Outputs
error code: -5
error message:
Invalid or non-wallet transaction id

Is this because I am not running a full node? Can anyone shed some light on this? 

user5757: Your node isn't synced with the blockchain yet.
 "blocks": 367670,

Your node has downloaded and verified 367670 blocks.  According to https://blockchain.info/ there are currently 484790 blocks in the blockchain.  Your node will not have an up-to-date view of the transaction register until it has downloaded and processed all of them.  At that time, your transaction should become visible to your node.

59776: <p>:) I'm starting development on a PHP project that involves creating a Bitcoin server, creating and managing wallets, etc.</p>

<p>I've created a selfish-node (550 MiB of the blockchain) on Ubuntu 14 with bitcoind and bitcoin-cli and it is live according to <a href="https://bitnodes.21.co/" rel="nofollow noreferrer">https://bitnodes.21.co/</a> => response: (162.243.145.144:8333 /Satoshi:0.14.2/)</p>

<p>My bitcoin.conf is as follows</p>

<p><code>prune=550
maxconnections=10
maxuploadtarget=10
rpcuser=fakeusername
rpcpassword=fakepassword
daemon=1
keypool=10000
</code></p>

<p>and bitcoin-cli getinfo outputs</p>

<p><code>root@b:~/.bitcoin# bitcoin-cli getinfo
{
  "version": 140200,
  "protocolversion": 70015,
  "walletversion": 130000,
  "balance": 0.00000000,
  "blocks": 367670,
  "timeoffset": -1,
  "connections": 8,
  "proxy": "",
  "difficulty": 52278304845.59168,
  "testnet": false,
  "keypoololdest": 1505160918,
  "keypoolsize": 10000,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}
</code></p>

<p>I've created a wallet via bitcoin-cli on this node: 17Jn1VYpwknwjuVxLMYvqc8iHJ6QsP8xDo and have sent this address 0.00000547 bitcoin as a test from an Electrum wallet of mine.</p>

<p>The tx: ee65b8201e0e26827430b34872f6dd961f318e0c1e4c5266a6bcf8a8fa22a2ce</p>

<p>According to the blockchain, it has over 10 confirmations at this point (it is confirmed). </p>

<p>But when I execute commands to verify this from within my server, it does not show any such transaction and it does not show that I have received any funds. </p>

<p><code>root@b:~/.bitcoin# bitcoin-cli getreceivedbyaddress 17Jn1VYpwknwjuVxLMYvqc8iHJ6QsP8xDo</code></p>

<p>Outputs</p>

<p><code>0.00000000</code></p>

<p>and</p>

<p><code>root@b:~/.bitcoin# bitcoin-cli gettransaction ee65b8201e0e26827430b34872f6dd961f318e0c1e4c5266a6bcf8a8fa22a2ce</code></p>

<p>Outputs</p>

<p><code>error code: -5
error message:
Invalid or non-wallet transaction id
</code></p>

<p>Is this because I am not running a full node? Can anyone shed some light on this? </p>
 5757: <p>Your node isn't synced with the blockchain yet.</p>

<pre><code> "blocks": 367670,
</code></pre>

<p>Your node has downloaded and verified 367670 blocks.  According to <a href="https://blockchain.info/" rel="nofollow noreferrer">https://blockchain.info/</a> there are currently 484790 blocks in the blockchain.  Your node will not have an up-to-date view of the transaction register until it has downloaded and processed all of them.  At that time, your transaction should become visible to your node.</p>
